Template:PMTOK enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Undo revision 3022467 by DarkNight (talk) Stat tables don't normally link like this)
Tag: Undo
m (Text replacement - "{{([Cc]olor|[Cc]olor-link|[Cc]olor-link-external)\|(1=)?([^\|{}\n]+)\|(2=)?([^\|{}\n]+)([\|}])" to "{{$1|$5|$3$6")
 
(23 intermediate revisions by 4 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:#00C"{{!}}''{{color-link|white|Paper Mario: The Origami King}}'' 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=5 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 12: Line 12:
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}'''Type'''
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED;background:aliceblue"{{!}}'''Type'''
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED"{{!}}{{{type|}}}
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED"{{!}}{{{type|}}}
{{!}}rowspan=2 style="border-bottom:3px solid #74A5ED"{{!}}{{{moves|}}}
{{!}}rowspan=3 style="border-bottom:3px solid #74A5ED"{{!}}{{{moves|}}}
{{!}}rowspan=2 style="border-bottom:3px solid #74A5ED"{{!}}{{{location|}}}
{{!}}rowspan=3 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"{{!}}'''Role'''
{{!}}colspan=3 style="border-bottom:3px solid #74A5ED"{{!}}{{{role|}}}
{{!}}-
{{!}}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 29:
{{!}}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:#00C"{{!}}''{{color-link|white|Paper Mario: The Origami King|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 52:
{{!}}colspan=6 {{!}}{{{type|}}}
{{!}}colspan=6 {{!}}{{{type|}}}
{{!}}-style=background:aliceblue
{{!}}-style=background:aliceblue
{{!}}'''Item Drops'''
{{!}}'''Role'''
{{!}}colspan=6 {{!}}{{{role|}}}
{{!}}-
{{!}}'''Item drops'''
{{!}}colspan=6 {{!}}{{{item|}}}
{{!}}colspan=6 {{!}}{{{item|}}}
{{!}}-
{{!}}-style=background:aliceblue
{{!}}'''Moves'''
{{!}}'''Moves'''
{{!}}colspan=6 {{!}}{{{moves|}}}
{{!}}colspan=6 {{!}}{{{moves|}}}
{{!}}-style=background:aliceblue
{{!}}-
{{!}}'''Location(s)'''
{{!}}'''Location(s)'''
{{!}}colspan=6 {{!}}{{{location|}}}
{{!}}colspan=6 {{!}}{{{location|}}}
Line 63: Line 69:


{|
{|
|<pre>{{PMTOKenemy
|<pre>{{PMTOK enemy
|align=
|align=
|num=
|num=
Line 108: Line 114:
|}
|}


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


{{PMTOKenemy|align=horizontal}}
{{PMTOK enemy|align=horizontal|image=&nbsp;}}
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Hybrid infoboxes]]</noinclude>

Latest revision as of 11:53, June 6, 2024

The Origami King enemy
PMTOK enemy
Streamers
Description
HP
Type
Role
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
Role
Item drops
'