Template:PM enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Reverted edits by Gabriel 10 (Talk); changed back to last version by Cobold)
m (testing...)
Line 1: Line 1:
{| class="infobox" cellpadding=3 cellspacing=2 width={{{width|320}}}px style="font-family: arial, sans-serif; padding: 4px; margin: {{#switch:{{{align|}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|0 0 1em 1em}}; font-size: 11px; background-color: #fcfffc; border:1px solid #8c8;float:{{{align|right}}}; color:black"
{| class="infobox collapsible" cellpadding=3 cellspacing=2 width={{{width|320}}}px style="font-family: arial, sans-serif; padding: 4px; margin: {{#switch:{{{align|}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|0 0 1em 1em}}; font-size: 11px; background-color: #fcfffc; border:1px solid #8c8;float:{{{align|right}}}; color:black"
| align="center" colspan="2" bgcolor="#aacfaa" style="font-size:120%;" | {{#if:{{{PM2|}}}|'''''[[Paper Mario: The Thousand-Year Door]]''|'''''[[Paper Mario]]''}} Enemy'''
| align="center" colspan="2" bgcolor="#aacfaa" style="font-size:120%;" | {{#if:{{{PM2|}}}|'''''[[Paper Mario: The Thousand-Year Door]]''|'''''[[Paper Mario]]''}} Enemy'''
|-
|-
Line 27: Line 27:
|'''Moves'''
|'''Moves'''
| {{{moves|}}}
| {{{moves|}}}
|- class="collapsible"
! colspan=2 style="background:#aca" | '''Tattle'''
|-
| colspan=2 |  {{{tattle|}}}
|-
|-
| '''Tattle'''
| {{{tattle|}}}
{{#if:{{{PM2|}}}|{{!}}-
{{#if:{{{PM2|}}}|{{!}}-
{{!}} colspan=2 align="center" style="font-size:103%" {{!}} <span style="font-size:98%">'''[[Paper Mario: The Thousand-Year Door (Tattle Log){{!}}Bestiary]]'''</span><br>{{{before}}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size:115%">'''{{{#}}}'''</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{{after}}}|}}
{{!}} colspan=2 align="center" style="font-size:103%" {{!}} <span style="font-size:98%">'''[[Paper Mario: The Thousand-Year Door (Tattle Log){{!}}Bestiary]]'''</span><br>{{{before}}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size:115%">'''{{{#}}}'''</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{{after}}}|}}

Revision as of 23:23, December 26, 2008

Paper Mario Enemy
PM enemy
Max HP
Attack
Defense
Location(s)


Moves
Tattle

Look carefully at these instructions:

There are 11 variables to this template. Only 5 are needed for PM enemies, 8 for PM2 enemies.

{{pmenemybox
|align=
|PM2=
|name=
|image=
|hp=
|atk=
|def=
|location=
|tattle=
|log=
|items=
|moves=
}}

Align takes care of the alignment of the table (default is right). If the enemy is in both games or all 3, use this template twice (and {{spmenemybox}}) in one section, aligning them all to the center, making a nice comparison. Ignore and leave PM2 blank if it's a PM enemy. If it is a PM2 enemy, fill in yes. The extra fields log, items, and the bestiary end section will appear automatically so you can fill in those sections. Name is for the rare case when there is a small difference between the names in different games (i.e. Spiked Goomba and Spiky Goomba); the default is {{PAGENAME}}. Image is still optional.