Template:PMTOK enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
(27 intermediate revisions by 7 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{{#ifeq:{{{align|right}}}|horizontal|-wide}}" style="{{#ifeq:{{{align|right}}}|right|width:250px}};background:#CFEEFF;border-color:aliceblue"
{{#switch:{{{align|right}}}|horizontal=!colspan=9 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link|Paper Mario: The Origami King|white}}'' Enemy
{{#switch:{{{align|right}}}|horizontal=!colspan=9 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link|Paper Mario: The Origami King|white}}'' enemy
{{!}}-
{{!}}-
{{!}}colspan=9 style="font-size:125%;text-align:center;background:#74A5ED"{{!}}{{{altname|{{{name|{{PAGENAME}}}}}}}}
{{!}}colspan=9 style="font-size:125%;text-align:center;background:#74A5ED"{{!}}{{{altname|{{{name|{{PAGETITLE}}}}}}}}
{{!}}-
{{!}}-
{{!}}rowspan=4 style="padding:4px;text-align:center;width:20%"{{!}}{{#if:{{{image|}}}|{{{image|}}}|[[File:PMTOK {{{altname|{{{name|}}}}}}.png|{{{size|140px}}}]]}}
{{!}}rowspan=4 style="padding:4px;text-align:center;width:20%"{{!}}{{#if:{{{image|}}}|{{{image|}}}|{{#if:{{{altname|{{{name|{{PAGETITLE}}}}}}}}|<includeonly>[[File:PMTOK {{{altname|{{{name|{{PAGETITLE}}}}}}}}.png|{{{size|140px}}}]]</includeonly>}}}}
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED;background:aliceblue;width:4%"{{!}}'''HP'''
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED;background:aliceblue;width:4%"{{!}}'''HP'''
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED;width:5%"{{!}}{{{hp|}}}
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED;width:5%"{{!}}{{{hp|}}}
Line 15: Line 15:
{{!}}rowspan=2 style="border-bottom:3px solid #74A5ED"{{!}}{{{location|}}}
{{!}}rowspan=2 style="border-bottom:3px solid #74A5ED"{{!}}{{{location|}}}
{{!}}-
{{!}}-
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}'''Item Drops'''
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}'''Item drops'''
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED"{{!}}{{{item|}}}
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED"{{!}}{{{item|}}}
{{!}}-
{{!}}-
Line 26: Line 26:
{{!}}colspan=4 style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}''{{{info|}}}''
{{!}}colspan=4 style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}''{{{info|}}}''
{{!}}}
{{!}}}
|left|right=!colspan=7 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link-piped|Paper Mario: The Origami King|white|The Origami King}}'' Enemy
|left|right=!colspan=7 style="font-size:120%;text-align:center;color:white;background:#0000CC"{{!}}''{{color-link|Paper Mario: The Origami King|white|The Origami King}}'' 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|{{PAGETITLE}}}}}}}}
{{!}}-
{{!}}-
{{!}}colspan=7 style="padding:4px;text-align:center" {{!}}{{#if:{{{image|}}}|{{{image|}}}|[[File:PMTOK {{{altname|{{{name|}}}}}}.png|{{{size|140px}}}]]}}
{{!}}colspan=7 style="padding:4px;text-align:center" {{!}}{{#if:{{{image|}}}|{{{image|}}}|{{#if:{{{altname|{{{name|{{PAGETITLE}}}}}}}}|<includeonly>[[File:PMTOK {{{altname|{{{name|{{PAGETITLE}}}}}}}}.png|{{{size|140px}}}]]</includeonly>}}}}
{{!}}- style="background:aliceblue"
{{!}}- style="background:aliceblue"
{{!}}style=width:70px{{!}}'''Streamers'''
{{!}}style=width:70px{{!}}'''Streamers'''
Line 49: Line 49:
{{!}}colspan=6 {{!}}{{{type|}}}
{{!}}colspan=6 {{!}}{{{type|}}}
{{!}}-style=background:aliceblue
{{!}}-style=background:aliceblue
{{!}}'''Item Drops'''
{{!}}'''Item drops'''
{{!}}colspan=6 {{!}}{{{item|}}}
{{!}}colspan=6 {{!}}{{{item|}}}
{{!}}-
{{!}}-
Line 59: Line 59:
{{!}}}
{{!}}}
}}
}}
|}<noinclude>
<noinclude>
This template is for information on enemies in ''[[Paper Mario: The Origami King]]''. The variables are as follows:
This template is for information on enemies in ''[[Paper Mario: The Origami King]]''. The variables are as follows:


{|
{|
|<pre>{{PMTOKenemy
|<pre>{{PMTOK enemy
|align=
|align=
|num=
|num=
Line 89: Line 89:
Number (sorted by encounter)
Number (sorted by encounter)
The enemy's name (the page title is the default).
The enemy's name (the page title is the default).
Alternative enemy name (if the oage it links to is different).
Alternative enemy name (if the page it links to is different).
The enemy's role.
The enemy's role.
An image of the enemy.
An image of the enemy.
Line 96: Line 96:
The enemy's typing.
The enemy's typing.
What items the enemy may drop.
What items the enemy may drop.
The enemies moves.
The enemy's moves.
Where the enemy can be found.
Where the enemy can be found.
If the enemy appears in the Red Streamer area.
If the enemy appears in the Red Streamer area.
Line 104: Line 104:
If the enemy appears in the Green Streamer area.
If the enemy appears in the Green Streamer area.
If the enemy appears in the Origami Castle area.
If the enemy appears in the Origami Castle area.
The enemies description.
The enemy's description.
&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. If the page's title is the plain enemy name (i.e. no identifiers), 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 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.
{{PMTOK enemy|align=horizontal|image=&nbsp;}}
 
[[Category:Hybrid infoboxes]]</noinclude>
{{PMTOKenemy|align=horizontal}}
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 12:24, January 19, 2024

The Origami King enemy
PMTOK enemy
Streamers
Description
HP
Type
Item drops
Moves
Location(s)

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

{{PMTOK enemy
|align=
|num=
|name=
|altname=
|role=
|image=
|size=
|hp=
|type=
|item=
|moves=
|location=
|red=
|blue=
|yellow=
|purple=
|green=
|black=
|info=
}}
 
"Right" (default), "left" or "horizontal".
Number (sorted by encounter)
The enemy's name (the page title is the default).
Alternative enemy name (if the page it links to is different).
The enemy's role.
An image of the enemy.
Image size.
The enemy's HP
The enemy's typing.
What items the enemy may drop.
The enemy's moves.
Where the enemy can be found.
If the enemy appears in the Red Streamer area.
If the enemy appears in the Blue Streamer area.
If the enemy appears in the Yellow Streamer area.
If the enemy appears in the Purple Streamer area.
If the enemy appears in the Green Streamer area.
If the enemy appears in the Origami Castle area.
The enemy's description.
 

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. If the page's title is the plain enemy name (i.e. no identifiers), the Name= variable is not needed.

Paper Mario: The Origami King enemy
PMTOK enemy
  HP Moves Location(s)
Type
Item drops
'