Template:PMTOK enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{|{{#ifeq:{{{align|right}}}|right|class="infobox"}} cellspacing=0 cellpadding=2 style="font-family:Arial;padding:4px;{{#switch:{{{align|right}}}|horizontal=margin:0 0 0 0;width:100% !important|left=margin:0 1em 1em 0;float:left!important;width:250px|right=margin:0 0 1em 1em;float:right;width:250px}};font-size:11px;border:1px solid aliceblue;background:#CFEEFF;color:black;border-radius:5px"
{|{{#ifeq:{{{align|right}}}|right|class="infobox"}} cellspacing=0 cellpadding=2 style="font-family:Arial;padding:4px;{{#switch:{{{align|right}}}|horizontal=margin:0 0 0 0;width:100% !important|left=margin:0 1em 1em 0;float:left!important;width:250px|right=margin:0 0 1em 1em;float:right;width:250px}};font-size:11px;border:1px solid aliceblue;background:#CFEEFF;color:black;border-radius:5px"
{{#switch:{{{align|right}}}|horizontal=!colspan=9 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link|Paper Mario: The Origami King|white}}'' Enemy
{{#switch:{{{align|right}}}|horizontal=!colspan=8 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link|Paper Mario: The Origami King|white}}'' Enemy
{{!}}-
{{!}}-
{{!}}colspan=5 style="font-size:125%;text-align:center;background:#74A5ED"{{!}}{{{altname|{{{name|{{PAGENAME}}}}}}}}
{{!}}colspan=5 style="font-size:125%;text-align:center;background:#74A5ED"{{!}}{{{altname|{{{name|{{PAGENAME}}}}}}}}

Revision as of 20:32, September 7, 2020

Template:Color-link-piped Enemy
PMTOK enemy
File:PMTOK .png
Location(s)
Type
HP
Strong
Weak
Moves
Enemy Class
Card Probability
Card
Quotes
Dropped Items
Hammer Scraps
Red Paint
Yellow Paint
Blue Paint
Orange Paint
Green Paint
Purple Paint

This template is for information on enemies in Paper Mario: The Origami King. The variables are as follows:

{{PMTOKenemy
|name=
|image=
|align=
|hp=
|type=
|location=
|strong=
|weak=
|cards=
|cardtype=
|moves=
|quote=
|class=
|hammerscraps=
|redpaint=
|yellowpaint=
|bluepaint=
|orangepaint=
|greenpaint=
|purplepaint=
}}
 
The enemy's name (the page title is the default).
An image of the enemy.
"Right" (default), "left" or "horizontal".
The enemy's HP
The enemy's typing.
Where the enemy can be found.
The enemy's strengths.
The enemy's weakness.
The card(s) of the enemy.
The probability that the card is dropped by an enemy or R if the card is rather won at a Roshambo Temple.
The enemy's paint color dropped.
The enemy's moves.
The enemy's dialog in-battle.
The class of the enemy.
The Hammer Scraps dropped by the enemy.
The red paint dropped by the enemy.
The yellow paint dropped by the enemy.
The blue paint dropped by the enemy.
The orange paint dropped by the enemy.
The green paint dropped by the enemy.
The purple paint dropped by the enemy.
 


If no Align= value is provided, the template will take the vertical right-aligned form (seen to the right); it should be "horizontal" (seen below) in "List of stats" sections, or other assemblages of infoboxes, and left vertical when imbedded in the body text at the top of the page. While it's possible to have the vertical form left-aligned using "left" as the input value, this is generally not needed. If the page's title is the plain enemy name (i.e. no qualifiers in parentheses), the Name= variable is not needed.

Template:PMTOKenemy