Template:PMTOK enemy: Difference between revisions

m
no edit summary
m (Text replacement - "Category:Infobox templates" to "Category:Hybrid infoboxes")
mNo edit summary
(16 intermediate revisions by 2 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|}}}|{{#if:{{{altname|{{{name|}}}}}}|[[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|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|}}}|{{#if:{{{altname|{{{name|}}}}}}|[[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 63: Line 63:


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


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:Hybrid infoboxes]]</noinclude>
[[Category:Hybrid infoboxes]]</noinclude>