Template:PMCS enemy: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Fixing the collapsible header) |
(Using better coding, nesting a table) |
||
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}}} | {{#switch:{{{align|right}}}|horizontal=!colspan=7 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link-piped|Paper Mario: Color Splash|white|Color Splash}}'' Enemy | ||
|horizontal= | |||
!colspan=7 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link-piped|Paper Mario: Color Splash|white|Color Splash}}'' Enemy | |||
{{!}}- | {{!}}- | ||
{{!}}colspan=7 style="font-size:125%;text-align:center;background:#74A5ED"{{!}}{{{altname|{{{name|{{PAGENAME}}}}}}}} | {{!}}colspan=7 style="font-size:125%;text-align:center;background:#74A5ED"{{!}}{{{altname|{{{name|{{PAGENAME}}}}}}}} | ||
Line 36: | Line 34: | ||
{{!}}style="background:#AADDFF;width:6%"{{!}}<span title="The lines spoken by the enemy in-battle.">'''Quotes'''</span> | {{!}}style="background:#AADDFF;width:6%"{{!}}<span title="The lines spoken by the enemy in-battle.">'''Quotes'''</span> | ||
{{!}}colspan=6 style="background:#AADDFF"{{!}}{{{quote|}}} | {{!}}colspan=6 style="background:#AADDFF"{{!}}{{{quote|}}} | ||
{{!}}- | {{!}}- | ||
{{!}}style=" | {{!}}colspan=7 style="background:#74A5ED;text-align:center"{{!}}'''Dropped Items''' | ||
{{!}} | {{!}}- | ||
{{!}}style=" | {{!}}colspan=7{{!}} | ||
{{!}} | {{{!}}cellspacing=0 style="width:100%" | ||
{{!}}style=" | {{!}}'''Hammer Scraps''' | ||
{{!}}style=" | {{!}}{{{hammerscraps|}}} | ||
{{!}}style=" | {{!}}style="background:aliceblue"{{!}}'''Red Paint''' | ||
{{!}}style=" | {{!}}style="background:aliceblue"{{!}}{{{redpaint|}}} | ||
{{!}}'''Yellow Paint''' | |||
{{!}}{{{yellowpaint|}}} | |||
{{!}}style=" | {{!}}style="background:aliceblue"{{!}}'''Blue Paint''' | ||
{{!}}style=" | {{!}}style="background:aliceblue"{{!}}{{{bluepaint|}}} | ||
{{!}}'''Orange Paint''' | |||
{{!}}{{{orangepaint|}}} | |||
{{!}}style="background:aliceblue"{{!}}'''Green Paint''' | |||
{{!}}style="background:aliceblue"{{!}}{{{greenpaint|}}} | |||
{{!}}'''Purple Paint''' | |||
{{!}}{{{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 93: | Line 92: | ||
{{!}}- | {{!}}- | ||
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%;text-align:center"{{!}} | {{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%;text-align:center"{{!}} | ||
{{{cards|}}} | {{#if:{{{cards|}}}|{{{cards|}}}|[[File:PMCS {{{altname|{{{name|}}}}}} Card.png|80px|center]]}} | ||
{{!}}} | {{!}}} | ||
{{!}}- | {{!}}- | ||
{{!}}colspan=2 style=padding:0{{!}} | {{!}}colspan=2 style=padding:0{{!}} | ||
{{{!}} class="mw-collapsible mw-collapsed" cellpadding=2 cellspacing=0 style=width:100% | {{{!}} class="mw-collapsible mw-collapsed" cellpadding=2 cellspacing=0 style=width:100% | ||
! style="background:#74A5ED;border-top:3px solid #CFEEFF"{{!}}Quotes | ! style="background:#74A5ED;border-top:3px solid #CFEEFF"{{!}}'''Quotes''' | ||
{{!}}- | {{!}}- | ||
{{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}} | {{!}}style="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}} | ||
Line 106: | Line 105: | ||
{{!}}colspan=2 style=padding:0{{!}} | {{!}}colspan=2 style=padding:0{{!}} | ||
{{{!}} class="mw-collapsible mw-collapsed" cellpadding=2 cellspacing=0 style=width:100% | {{{!}} class="mw-collapsible mw-collapsed" cellpadding=2 cellspacing=0 style=width:100% | ||
!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="padding:0 2px 2px 2px;background:aliceblue;font-size:92%"{{!}}'''Hammer Scraps''' |
Revision as of 13:12, May 21, 2017
Template:Color-link-piped Enemy | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PMCS enemy | |||||||||||||||||
File:PMCS .png | |||||||||||||||||
Location(s) | |||||||||||||||||
Type | |||||||||||||||||
HP | |||||||||||||||||
Attack | |||||||||||||||||
Defense | |||||||||||||||||
Strong | |||||||||||||||||
Weak | |||||||||||||||||
Moves | |||||||||||||||||
Cards Type | |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
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.