Template:SPM bestiary: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "Category:Infobox templates" to "Category:Horizontal infoboxes")
m (Text replacement - "class="infobox" " to "")
Line 1: Line 1:
{|class="infobox" cellspacing=0 cellpadding=2 style="font-family:Arial;padding:4px;margin:0 0 0 0;width:100%;font-size:11px;border:1px solid aliceblue;background:#CFEEFF;color:black;border-radius:5px"
{|cellspacing=0 cellpadding=2 style="font-family:Arial;padding:4px;margin:0 0 0 0;width:100%;font-size:11px;border:1px solid aliceblue;background:#CFEEFF;color:black;border-radius:5px"
|style="font-size:120%;text-align:center;color:white;background:#8888FF"|{{color-link|{{{name|Goomba}}}|white|{{#switch:{{{role|common}}}|common=|miniboss=''|boss='''|support=<u>|optional='''''}}{{{altname|{{{name|Enemy Name}}}}}}{{#switch:{{{role|common}}}|common=|miniboss=''|boss='''|support=</u>|optional='''''}}}}
|style="font-size:120%;text-align:center;color:white;background:#8888FF"|{{color-link|{{{name|Goomba}}}|white|{{#switch:{{{role|common}}}|common=|miniboss=''|boss='''|support=<u>|optional='''''}}{{{altname|{{{name|Enemy Name}}}}}}{{#switch:{{{role|common}}}|common=|miniboss=''|boss='''|support=</u>|optional='''''}}}}
|colspan=7 style="background:#8888FF"|
|colspan=7 style="background:#8888FF"|

Revision as of 15:33, April 22, 2021

Enemy Name
Used in case of images missing from a section gallery, table, bestiary box, or certain infoboxes.

Upload one!

Max HP Attack Defense
Score Items Location(s)
Tattle

This template is for the Super Paper Mario bestiary. The variables are as follows:

<onlyinclude>{{#ifeq:{{{transcludesection|NAME}}}|NAME|
{{<noinclude>SPMbestiary</noinclude><includeonly>SPMenemy</includeonly>
|name=
|altname=
|role=
|align={{{align|right}}}
|image={{{image|}}}
|location=
|hp=
|atk=
|def=
|score=
|items=
|card type=
|card location=
|card description=
|before=
|#=
|after=
|tattle=
}}}}</onlyinclude>
The section label; Replace "NAME" with the enemy name.
 
The enemy's name.
Used for links, alt diplayed [[name|altname]].
(common, miniboss, boss, support, optional)
<-- DO NOT CHANGE.
An image of the enemy.
Where the enemy can be found.
The enemy's HP
The enemy's attack.
The enemy's defence.
The base points gained by beating the enemy.
Item(s) potentially dropped by the enemy.
(Infobox) The rarity of the Catch Card.
(Infobox) How to procure the Catch Card.
(Infobox) The Catch Card's description of the enemy.
(Infobox) The previous Catch Card.
(Infobox) The current Catch Card.
(Infobox) The next Catch Card.
The enemy's tattle.