Template:SPM Sammer Guy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (It is only used for Sammer Guys, not other enemies.)
mNo edit summary
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|class="infobox" cellspacing=0 cellpadding=2 style="font-family:Arial;padding:4px;{{#switch:{{{align|right}}}|horizontal=margin:0 0 0 0;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"
{| class="infobox{{#ifeq:{{{align|right}}}|horizontal|-wide}}" style="{{#ifeq:{{{align|right}}}|right|width:250px}};background:#CFEEFF;border-color:aliceblue"
!colspan={{#switch:{{{align|right}}}|horizontal=9|left|right=2}} style="font-size:120%;text-align:center;color:white;background:#0000CC"|''{{color-link|Super Paper Mario|white}}'' Enemy
!colspan={{#switch:{{{align|right}}}|horizontal=9|left|right=2}} style="font-size:120%;text-align:center;color:white;background:#00C"|''{{color link|white|Super Paper Mario}}'' enemy
|-
|-
|colspan={{#switch:{{{align|right}}}|horizontal=9|left|right=2}} style="font-size:125%;text-align:center;background:#74A5ED"|{{{name|{{PAGENAME}}}}}
|colspan={{#switch:{{{align|right}}}|horizontal=9|left|right=2}} style="font-size:125%;text-align:center;background:#74A5ED"|{{{name|{{PAGETITLE}}}}}
|-
|-
{{#switch:{{{align|right}}}
{{#switch:{{{align|right}}}
|horizontal={{!}}rowspan=3 style="padding:4px;text-align:center;width:100px"{{!}}{{{image|[[File:Nocoverart.png|100px|center]]
|horizontal={{!}}rowspan=3 style="text-align:center;width:100px"{{!}}{{{image|[[File:No image.png|100px|center|class=notpageimage]]
[[Special:Upload|<small>Upload one!</small>]]}}}
[[Special:Upload|<small>Upload one!</small>]]}}}
!style="border-bottom:3px solid #74A5ED;background:aliceblue;width:100px"{{!}}Max HP
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue;width:100px"{{!}}'''Max HP'''
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{hp|}}}
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{hp|}}}
!style="border-bottom:3px solid #74A5ED;width:40px"{{!}}Attack
{{!}}style="border-bottom:3px solid #74A5ED;width:40px"{{!}}'''Attack'''
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{atk|}}}
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{atk|}}}
!style="border-bottom:3px solid #74A5ED;background:aliceblue;width:60px"{{!}}Defense
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue;width:60px"{{!}}'''Defense'''
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{def|}}}
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{def|}}}
!style="border-bottom:3px solid #74A5ED;width:100px"{{!}}Size
{{!}}style="border-bottom:3px solid #74A5ED;width:100px"{{!}}'''Size'''
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{size|}}}
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{size|}}}
{{!}}-
{{!}}-
!style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}Color
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}'''Color'''
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{color|}}}
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{color|}}}
!style="border-bottom:3px solid #74A5ED"{{!}}Weapon
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}'''Weapon'''
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{weapon|}}}
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{weapon|}}}
!style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}Special&nbsp;Abilities
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}'''Special&nbsp;abilities'''
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{sabilities|}}}
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{sabilities|}}}
!style="border-bottom:3px solid #74A5ED;"{{!}}Spiked?
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}'''Spiked?'''
{{!}}style="border-bottom:3px solid #74A5ED;"{{!}}{{{spiked|}}}
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{spiked|}}}
{{!}}-
{{!}}-
!style="background:#AADDFF"{{!}}Tattle
{{!}}style="background:#AADDFF"{{!}}'''Tattle'''
{{!}}style="background:#AADDFF" colspan=7{{!}}{{{tattle|}}}
{{!}}style="background:#AADDFF" colspan=7{{!}}{{{tattle|}}}
|left|right={{!}}style="padding:4px;text-align:center" colspan=2{{!}}{{{image|[[File:Nocoverart.png|100px|center]]
|left|right={{!}}style="text-align:center" colspan=2{{!}}{{{image|[[File:No image.png|100px|center|class=notpageimage]]
[[Special:Upload|<small>Upload one!</small>]]}}}
[[Special:Upload|<small>Upload one!</small>]]}}}
{{!}}-
{{!}}-
!Max HP
{{!}}'''Max HP'''
{{!}}{{{hp|}}}
{{!}}{{{hp|}}}
{{!}}-style=background:aliceblue
{{!}}-style=background:aliceblue
!Attack
{{!}}'''Attack'''
{{!}}{{{atk|}}}
{{!}}{{{atk|}}}
{{!}}-
{{!}}-
!Defense
{{!}}'''Defense'''
{{!}}{{{def|}}}
{{!}}{{{def|}}}
{{!}}- style=background:aliceblue
{{!}}- style=background:aliceblue
!Size
{{!}}'''Size'''
{{!}}{{{size|}}}
{{!}}{{{size|}}}
{{!}}-
{{!}}-
!Color
{{!}}'''Color'''
{{!}}{{{color|}}}
{{!}}{{{color|}}}
{{!}}- style=background:aliceblue
{{!}}- style=background:aliceblue
!Weapon
{{!}}'''Weapon'''
{{!}}{{{weapon|}}}
{{!}}{{{weapon|}}}
{{!}}-  
{{!}}-  
!Special&nbsp;Abilities
{{!}}'''Special&nbsp;abilities'''
{{!}}{{{sabilities|}}}
{{!}}{{{sabilities|}}}
{{!}}-style=background:aliceblue
{{!}}-style=background:aliceblue
!Spiked?
{{!}}'''Spiked?'''
{{!}}{{{spiked|}}}
{{!}}{{{spiked|}}}
{{!}}-
{{!}}-
{{!}}colspan=2 style=padding:0{{!}}
{{!}}colspan=2 style="padding:0 !important;--darkbg:none" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" cellpadding=2 cellspacing=0 style=width:100%
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%;margin-top:3px" cellspacing="0"
! style="background:#74A5ED;border-top:3px solid #CFEEFF"{{!}}Tattle
! style="background:#74A5ED"{{!}}Tattle
{{!}}-
{{!}}-
{{!}}style="padding:0 2px 2px 2px"{{!}}<span style="font-size:92%">{{{tattle|}}}</span>
{{!}}style="padding:0 2px 2px 2px"{{!}}<span style="font-size:92%">{{{tattle|}}}</span>
Line 65: Line 65:


{|
{|
|<pre>{{sammerguy
|<pre>{{SPM Sammer Guy
|name=
|name=
|image=
|image=
Line 96: Line 96:
|}
|}


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 embedded 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.
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 embedded in the body text at the top of the page. If the page's title is the plain enemy name (i.e. no qualifiers in parentheses), the Name= variable is not needed.


{{sammerguy|align=horizontal}}
{{SPM Sammer Guy|align=horizontal}}
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Hybrid infoboxes]]</noinclude>

Latest revision as of 17:23, March 10, 2025

Super Paper Mario enemy
SPM Sammer Guy
Used in case of images missing from a section gallery, table, bestiary box, or certain infoboxes.

Upload one!

Max HP
Attack
Defense
Size
Color
Weapon
Special abilities
Spiked?
Tattle

This template is for information on the Sammer Guys in Super Paper Mario. The variables are as follows:

{{SPM Sammer Guy
|name=
|image=
|align=
|hp=
|atk=
|def=
|size=
|color=
|weapon=
|sabilities=
|spiked=
|tattle=
}}
 
The enemy name (page title is the default).
An image of the enemy.
"Right" (default), "left" or "horizontal".
The enemy's HP
The enemy's attack.
The enemy's defence.
The enemy's size.
The enemy's color.
The enemy's weapon.
The enemy's special abilities.
Whether the enemy has a spike.
The enemy's tattle.
 

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 embedded in the body text at the top of the page. If the page's title is the plain enemy name (i.e. no qualifiers in parentheses), the Name= variable is not needed.

Super Paper Mario enemy
SPM Sammer Guy
Used in case of images missing from a section gallery, table, bestiary box, or certain infoboxes.

Upload one!

Max HP Attack Defense Size
Color Weapon Special abilities Spiked?
Tattle