User:Eldritchdraaks/SPMbestiary: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(19 intermediate revisions by 3 users not shown)
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"
{|class="infobox" cellspacing=0 cellpadding=2 style="font-family:Arial;padding:4px;margin:0 0 0 0;width:100%;font-size:11px;border:1px solid aliceblue;background:#CFEEFF;color:black;border-radius:5px"
!colspan={{#switch:{{{align|right}}}|horizontal=9|left|right=2}} style="font-size:120%;text-align:center;color:white;background:#0000CC"|''{{color-link|{{{name|}}}|white}}''
|style="font-size:120%;text-align:center;color:white;background:#8888FF"|{{#switch:{{{role|common}}}|common=|miniboss=''|boss='''|support=<u>|optional='''''}}{{color link|white|{{{altname|{{{name|Enemy Name}}}}}}|{{{name|Enemy Name}}}}}{{#switch:{{{role|common}}}|common=|miniboss=''|boss='''|support=</u>|optional='''''}}
|colspan=7 style="background:#8888FF"|
|-
|-
{{#switch:{{{align|right}}}
|rowspan=3 style="padding:4px;text-align:center;width:100px"|{{{image|[[File:No image.png|100px|center]]
|horizontal={{!}}rowspan=3 style="padding:4px;text-align:center;width:100px"{{!}}{{{image|[[File:Nocoverart.png|100px|center]]
[[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"{{!}}'''Location(s)'''
|-
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{location|}}}
|style="border-bottom:3px solid #74A5ED;background:aliceblue"|<span title="The basic points gained from defeating the enemy. This amount can be increased by using items and combos.">'''Score'''</span>
{{!}}-
|style="border-bottom:3px solid #74A5ED;background:aliceblue"|{{{score|}}}
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}<span title="The basic points gained from defeating the enemy. This amount can be increased by using items and combos.">'''Score'''</span>
|style="border-bottom:3px solid #74A5ED"|<span title="The item(s) potentially dropped by the enemy upon defeat.">'''Items'''</span>
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{score|}}}
|style="border-bottom:3px solid #74A5ED"|{{{items|}}}
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}<span title="The item(s) potentially dropped by the enemy upon defeat.">'''Items'''</span>
|style="border-bottom:3px solid #74A5ED;background:aliceblue"|'''Location(s)'''
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{items|}}}
|style="border-bottom:3px solid #74A5ED;background:aliceblue"|{{{location|}}}
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}'''Card Type'''
|-
{{!}}style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}{{{card type|}}}
|style="border-bottom:3px solid #74A5ED;background:#AADDFF"|'''Tattle'''
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}'''<span title="How to procure the Catch Card.">{{nowrap|Card Location(s)}}</span>'''
|style="border-bottom:3px solid #74A5ED;background:#AADDFF" colspan=7|{{{tattle|}}}
{{!}}style="border-bottom:3px solid #74A5ED"{{!}}{{{card location|}}}
|-<noinclude>
{{!}}-
|}
{{!}}style="border-bottom:3px solid #74A5ED;background:#AADDFF"{{!}}'''{{nowrap|Card Description}}'''
 
{{!}}style="border-bottom:3px solid #74A5ED;background:#AADDFF" colspan=7{{!}}{{{card description|}}}
This template is for the ''[[Super Paper Mario]]'' [[Super Paper Mario bestiary|bestiary]]. The variables are as follows:
{{!}}-
{{!}}style="text-align:center;background:aliceblue;font-size:115%" rowspan=2{{!}}'''{{{#}}}'''
{{!}}style="background:#AADDFF"{{!}}'''Tattle'''
{{!}}style="background:#AADDFF" colspan=7{{!}}{{{tattle|}}}
|left|right={{!}}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:100px"{{!}}'''Location(s)'''
{{!}}{{{location|}}}
{{!}}-
{{!}}'''Max HP'''
{{!}}{{{hp|}}}
{{!}}-style=background:aliceblue
{{!}}'''Attack'''
{{!}}{{{atk|}}}
{{!}}-
{{!}}'''Defense'''
{{!}}{{{def|}}}
{{!}}- style=background:aliceblue
{{!}}<span title="The basic points gained from defeating the enemy. This amount can be increased by using items and combos.">'''Score'''</span>
{{!}}{{{score|}}}
{{!}}-
{{!}}<span title="The item(s) potentially dropped by the enemy upon defeat.">'''Items'''</span>
{{!}}{{{items|}}}
{{!}}-
{{!}}- style=background:aliceblue
{{!}}'''Card Type'''
{{!}}{{{card type|}}}
{{!}}-
{{!}}<span title="How to procure the Catch Card.">'''Card Location(s)'''</span>
{{!}}{{{card location|}}}
{{!}}-
{{!}}colspan=2 style=padding:0{{!}}
{{{!}} class="mw-collapsible mw-collapsed" cellpadding=2 cellspacing=0 style=width:100%
!style="background:#74A5ED"{{!}}'''Card Description'''
{{!}}-
{{!}}style="padding:0 2px 2px 2px;background:aliceblue"{{!}}<span style="font-size:92%">{{{card description|}}}</span>
{{!}}}
{{!}}-
{{!}}colspan=2 style=padding:0{{!}}
{{{!}} class="mw-collapsible mw-collapsed" cellpadding=2 cellspacing=0 style=width:100%
! style="background:#74A5ED;border-top:3px solid #CFEEFF"{{!}}Tattle
{{!}}-
{{!}}style="padding:0 2px 2px 2px"{{!}}<span style="font-size:92%">{{{tattle|}}}</span>
{{!}}}
{{!}}-
{{!}}colspan=2 style="font-size:115%;text-align:center;background:aliceblue;border-top:3px solid #CFEEFF"{{!}}'''{{{#}}}'''
}}
|}<noinclude>
This template is for information on enemies in ''[[Super Paper Mario]]''. The variables are as follows:


{|
{|
|<pre>{{spmenemybox
|<pre>
&lt;onlyinclude&gt;{{#ifeq:{{{transcludesection|NAME}}}|NAME|
{{&lt;noinclude&gt;SPMbestiary&lt;/noinclude&gt;&lt;includeonly&gt;SPM enemy&lt;/includeonly&gt;
|name=
|name=
|image=
|altname=
|align=
|role=
|align={{{align|right}}}
|image={{{image|}}}
|location=
|location=
|hp=
|hp=
Line 90: Line 44:
|card location=
|card location=
|card description=
|card description=
|tattle=
|before=
|before=
|#
|#=
|after=
|after=
}}</pre>
|tattle=
}}}}&lt;/onlyinclude&gt;</pre>
|
|
<pre>&nbsp;
<pre>
The enemy name (page title is the default).
The section label; Replace "NAME" with the enemy name.
&nbsp;
The enemy's name.
Used for links [[altname|name]].
(common, miniboss, boss, support, optional)
<-- DO NOT CHANGE.
An image of the enemy.
An image of the enemy.
"Right" (default), "left" or "horizontal".
Where the enemy can be found.
Where the enemy can be found.
The enemy's HP
The enemy's HP
Line 106: Line 64:
The base points gained by beating the enemy.
The base points gained by beating the enemy.
Item(s) potentially dropped by the enemy.
Item(s) potentially dropped by the enemy.
The rarity of the Catch Card.
(Infobox) The rarity of the Catch Card.
How to procure the Catch Card.
(Infobox) How to procure the Catch Card.
The Catch Card's description of the enemy.
(Infobox) The Catch Card's description of the enemy.
(Infobox) The previous Catch Card.
(Infobox) The current Catch Card.
(Infobox) The next Catch Card.
The enemy's tattle.
The enemy's tattle.
The Catch Card preceding the enemy.
The enemy's Catch Card number.
The Catch card following the enemy.
&nbsp;</pre>
&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" (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.
<!--[[Category:Infobox templates]]--></noinclude>
 
{{spmenemybox|align=horizontal}}
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 17:31, January 28, 2025

Enemy Name
Used in case of images missing from a section gallery, table, bestiary box, or certain infoboxes.

Upload one!

Max HP Attack Defense
Score Items Location(s)
Tattle

This template is for the Super Paper Mario bestiary. The variables are as follows:

<onlyinclude>{{#ifeq:{{{transcludesection|NAME}}}|NAME|
{{<noinclude>SPMbestiary</noinclude><includeonly>SPM enemy</includeonly>
|name=
|altname=
|role=
|align={{{align|right}}}
|image={{{image|}}}
|location=
|hp=
|atk=
|def=
|score=
|items=
|card type=
|card location=
|card description=
|before=
|#=
|after=
|tattle=
}}}}</onlyinclude>
The section label; Replace "NAME" with the enemy name.
 
The enemy's name.
Used for links [[altname|name]].
(common, miniboss, boss, support, optional)
<-- DO NOT CHANGE.
An image of the enemy.
Where the enemy can be found.
The enemy's HP
The enemy's attack.
The enemy's defence.
The base points gained by beating the enemy.
Item(s) potentially dropped by the enemy.
(Infobox) The rarity of the Catch Card.
(Infobox) How to procure the Catch Card.
(Infobox) The Catch Card's description of the enemy.
(Infobox) The previous Catch Card.
(Infobox) The current Catch Card.
(Infobox) The next Catch Card.
The enemy's tattle.