Template:PM enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Reverted edits by Gabriel 10 (Talk); changed back to last version by Cobold)
Line 2: Line 2:
| 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'''
|-
|-
|
| align="center" colspan="2" bgcolor="#aabaaa" style="font-size:125%" | {{{name|{{PAGENAME}}}}}
|-
|align="center" colspan="2" | {{{image|}}}
|- style=background:#aca
| style="width:7em" | '''Max HP'''
| {{{hp|}}}
|-
| '''Attack'''
| {{{atk|}}}
|- style=background:#aca
| '''Defense'''
| {{{def|}}}
|-
| '''Location(s)'''
| {{{location|}}}
 
{{#if:{{{PM2|}}}|{{!}}- style=background:#aca
{{!}}'''Log'''
{{!}} {{{log}}}
{{!}}-
{{!}} '''Items'''
{{!}} {{{items}}}|}}
|- style=background:#aca
|'''Moves'''
| {{{moves|}}}
|-
| '''Tattle'''
| {{{tattle|}}}
{{#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}}}|}}
|}<noinclude>Look carefully at these instructions:
 
There are '''11''' variables to this template. Only '''5''' are needed for PM enemies, '''8''' for PM2 enemies.
 
<pre>{{pmenemybox
|align=
|PM2=
|name=
|image=
|hp=
|atk=
|def=
|location=
|tattle=
|log=
|items=
|moves=
}}</pre>
''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 {{tem|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 <nowiki>{{PAGENAME}}</nowiki>. Image is still optional.
 
[[Category:Formatting Templates]]</noinclude>

Revision as of 15:31, May 1, 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.