Template:PMSS enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
(redesigning; per proposal)
Line 1: Line 1:
{| class="infobox" cellpadding=3 cellspacing=2 width={{{width|250}}}px style="font-family: arial, sans-serif; padding: 4px; margin: {{#switch:{{{align|}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|0 0 1em 1em}}; font-size: 11px; background-color: #fcfffc; border:1px solid #8c8;float:{{{align|right}}}; color:black"
{|class="infobox" cellspacing=0 cellpadding=2 style="font-family:Arial;padding:4px;{{#switch:{{{align|right}}}|horizontal=margin:0 0 0 0;float:top;width:100%|left=margin:0 1em 1em 0;float:left;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"
| align="center" colspan="2" bgcolor="#aacfaa" style="font-size:120%;" | '''''[[Paper Mario: Sticker Star]]'' Enemy'''
{{#switch:{{{align|right}}}
|-
|horizontal=!colspan=5 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link|Paper Mario: Sticker Star|white}}'' Enemy
| align="center" colspan="2" bgcolor="#aabaaa" style="font-size:125%" | {{{name|{{PAGENAME}}}}}
{{!}}-
|-
{{!}}colspan=5 style="font-size:125%;text-align:center;background:#74A5ED"{{!}}{{{name|{{PAGENAME}}}}}
|align="center" colspan="2" | {{{image|}}}
{{!}}-
|- style=background:#aca
{{!}}rowspan=3 style="padding:4px;text-align:center;width:20%"{{!}}{{{image|[[File:Nocoverart.png|100px|center]]
|'''Max HP'''
[[Special:Upload|<small>Upload one!</small>]]}}}
| style="width:17em" | {{{hp|}}}
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue;width:55px"{{!}}'''Max HP'''
|-
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue;width:8%"{{!}}{{{hp|}}}
| '''Attack'''
{{!}}style="border-bottom:3px solid #74A5ED;width:65px"{{!}}'''Location(s)'''
| {{{atk|}}}
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{location|}}}
{{#if:{{{def|}}}|
{{!}}-
{{!-}} style=background:#aca
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}'''Attack'''
{{!}} '''Defense'''
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{atk|}}}
{{!}} {{{def|}}}
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}'''Moves'''
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{moves|}}}
{{!}}-
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}'''Defense'''
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{def|}}}
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}<span title="The sticker(s) potentially dropped by the enemy upon defeat.">'''Stickers'''</span>
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{stickers|}}}
|left|right=!colspan=2 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link-piped|Paper Mario: Sticker Star|white|Sticker Star}}'' Enemy
{{!}}-
{{!}}colspan=2 style="font-size:125%;text-align:center;background:#74A5ED"{{!}}{{{name|{{PAGENAME}}}}}
{{!}}-
{{!}}style="padding:4px;text-align:center" colspan=2{{!}}{{{image|[[File:Nocoverart.png|100px|center]]
[[Special:Upload|<small>Upload one!</small>]]}}}
{{!}}- style="background:aliceblue"
{{!}}style=width:70px{{!}}'''Location(s)'''
{{!}}{{{location|}}}
{{!}}-
{{!}}'''Max HP'''
{{!}}{{{hp|}}}
{{!}}-style=background:aliceblue
{{!}}'''Attack'''
{{!}}{{{atk|}}}
{{!}}-
{{!}}'''Defense'''
{{!}}{{{def|}}}
{{!}}- style=background:aliceblue
{{!}}'''Moves'''
{{!}}{{{moves|}}}
{{!}}-
{{!}}style="padding:2px 2px 0 2px"{{!}}<span title="The sticker(s) potentially dropped by the enemy upon defeat.">'''Stickers'''</span>
{{!}}style="padding:2px 2px 0 2px"{{!}}{{{stickers|}}}
}}
}}
|-
| '''Location(s)'''
| {{{location|}}}
|- style=background:#aca
| '''Moves'''
| {{{moves|}}}
|-
{{#if:{{{sticker|}}}|{{!}}-
{{!}} '''Effective Sticker'''
{{!}} {{{sticker}}}
|}}
|}<noinclude>
|}<noinclude>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
This template is for information on enemies in ''[[Paper Mario: Sticker Star]]''. The variables are as follows:
 
{|
|<pre>{{pmssenemy
|name=
|image=
|align=
|location=
|hp=
|atk=
|def=
|moves=
|stickers=
}}</pre>
|
<pre>&nbsp;
The enemy's name (the page title is the default).
An image of the enemy.
"Right" (default), "left" or "horizontal".
Where the enemy can be found.
The enemy's HP
The enemy's attack.
The enemy's defence.
The enemy's moves.
The stickers(s) potentially dropped by the enemy.
&nbsp;</pre>
|}
 
If no Align= value is provided, the template will take the vertical right-aligned form (seen to the right); it should be "horizontal" 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.
 
{{pmssenemy|align=horizontal}}
</noinclude>

Revision as of 23:23, January 11, 2016

Template:Color-link-piped Enemy
PMSS enemy

Upload one!

Location(s)
Max HP
Attack
Defense
Moves
Stickers

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

{{pmssenemy
|name=
|image=
|align=
|location=
|hp=
|atk=
|def=
|moves=
|stickers=
}}
 
The enemy's name (the page title is the default).
An image of the enemy.
"Right" (default), "left" or "horizontal".
Where the enemy can be found.
The enemy's HP
The enemy's attack.
The enemy's defence.
The enemy's moves.
The stickers(s) potentially 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" 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:Pmssenemy