Template:PMCS enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Using better coding, nesting a table)
m (specifying width for better consistency)
Line 39: Line 39:
{{!}}colspan=7{{!}}
{{!}}colspan=7{{!}}
{{{!}}cellspacing=0 style="width:100%"
{{{!}}cellspacing=0 style="width:100%"
{{!}}'''Hammer Scraps'''
{{!}}style="width:11%"{{!}}'''Hammer Scraps'''
{{!}}{{{hammerscraps|}}}
{{!}}style="width:5%"{{!}}{{{hammerscraps|}}}
{{!}}style="background:aliceblue"{{!}}'''Red Paint'''
{{!}}style="background:aliceblue;width:9%"{{!}}'''Red Paint'''
{{!}}style="background:aliceblue"{{!}}{{{redpaint|}}}
{{!}}style="background:aliceblue;width:5%"{{!}}{{{redpaint|}}}
{{!}}'''Yellow Paint'''
{{!}}style="width:9%"{{!}}'''Yellow Paint'''
{{!}}{{{yellowpaint|}}}
{{!}}style="width:5%"{{!}}{{{yellowpaint|}}}
{{!}}style="background:aliceblue"{{!}}'''Blue Paint'''
{{!}}style="background:aliceblue;width:9%"{{!}}'''Blue Paint'''
{{!}}style="background:aliceblue"{{!}}{{{bluepaint|}}}
{{!}}style="background:aliceblue;width:5%"{{!}}{{{bluepaint|}}}
{{!}}'''Orange Paint'''
{{!}}style="width:9%"{{!}}'''Orange Paint'''
{{!}}{{{orangepaint|}}}
{{!}}style="width:5%"{{!}}{{{orangepaint|}}}
{{!}}style="background:aliceblue"{{!}}'''Green Paint'''
{{!}}style="background:aliceblue;width:9%"{{!}}'''Green Paint'''
{{!}}style="background:aliceblue"{{!}}{{{greenpaint|}}}
{{!}}style="background:aliceblue;width:5%"{{!}}{{{greenpaint|}}}
{{!}}'''Purple Paint'''
{{!}}style="width:9%"{{!}}'''Purple Paint'''
{{!}}{{{purplepaint|}}}
{{!}}style="width:5%"{{!}}{{{purplepaint|}}}
{{!}}}
{{!}}}
|left|right=!colspan=2 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link-piped|Paper Mario: Color Splash|white|Color Splash}}'' Enemy
|left|right=!colspan=2 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link-piped|Paper Mario: Color Splash|white|Color Splash}}'' Enemy
Line 107: Line 107:
!colspan=2 style="background:#74A5ED;border-top:3px solid #CFEEFF"{{!}}'''Dropped Items'''
!colspan=2 style="background:#74A5ED;border-top:3px solid #CFEEFF"{{!}}'''Dropped Items'''
{{!}}-
{{!}}-
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}'''Hammer Scraps'''
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}'''Hammer Scraps'''
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}{{{hammerscraps|}}}
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}{{{hammerscraps|}}}
{{!}}-
{{!}}-
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}'''Red Paint'''
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}'''Red Paint'''
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}{{{redpaint|}}}
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}{{{redpaint|}}}
{{!}}-
{{!}}-
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}'''Yellow Paint'''
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}'''Yellow Paint'''
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}{{{yellowpaint|}}}
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}{{{yellowpaint|}}}
{{!}}-
{{!}}-
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}'''Blue Paint'''
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}'''Blue Paint'''
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}{{{bluepaint|}}}
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}{{{bluepaint|}}}
{{!}}-
{{!}}-
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}'''Orange Paint'''
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}'''Orange Paint'''
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}{{{orangepaint|}}}
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}{{{orangepaint|}}}
{{!}}-
{{!}}-
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}'''Green Paint'''
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}'''Green Paint'''
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}{{{greenpaint|}}}
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}{{{greenpaint|}}}
{{!}}-
{{!}}-
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}'''Purple Paint'''
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}'''Purple Paint'''
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}{{{purplepaint|}}}
{{!}}style="background:aliceblue;font-size:92%;width=50%"{{!}}{{{purplepaint|}}}
{{!}}}
{{!}}}
}}
}}

Revision as of 15:53, May 21, 2017

Template:Color-link-piped Enemy
PMCS enemy
File:PMCS .png
Location(s)
Type
HP
Attack
Defense
Strong
Weak
Moves
Cards Type
Cards
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: Color Splash. The variables are as follows:

{{pmcsenemy
|name=
|image=
|align=
|hp=
|type=
|atk=
|def=
|location=
|strong=
|weak=
|cards=
|cardtype=
|moves=
|quote=
|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.
The enemy's attack.
The enemy's defense.
Where the enemy can be found.
The enemy's strengths.
The enemy's weakness.
The card(s) of the enemy.
Whether the card(s) are dropped by an enemy (D) or won at a Roshambo Temple (R).
The enemy's paint color dropped.
The enemy's moves.
The enemy's dialog in-battle.
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:Pmcsenemy