Template:M&LPIT enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
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" cellpadding=3 cellspacing=0 width=250 style="font-family:Arial,sans-serif;padding:4px;margin:{{#switch:{{{align}}}|left=0 1em 1em 0|#default=0 0 1em 1em}};font-size:11px;border:1px solid #ececf2;background:#CCD;float:{{#switch:{{{align}}}|left=left|#default=right}};{{radius|5px}}"
{{#switch: {{{align|right}}}
!align=center colspan="2" bgcolor="#BBC" style="font-size:120%;color:white;{{radius|5px 5px 0 0}}"|''{{color-link-piped|Mario & Luigi: Partners in Time|white|Partners in Time}}'' Enemy
|horizontal=!colspan=9 style="font-size:120%;text-align:center;background:#00DDFF"{{!}}''{{color-link|Mario & Luigi: Partners in Time|black}}'' Enemy
|-
{{!}}-
|align=center colspan=2 bgcolor=#ececf2 style=font-size:125% | {{{name|{{PAGENAME}}}}}
{{!}}colspan=9 style="font-size:125%;text-align:center;background:aqua"{{!}}{{{name|{{PAGENAME}}}}}
|-
{{!}}-  
|align=center colspan=2|{{{image|[[Image:Nocoverart.png|100px|center]]<br>[[Special:Upload|<small>Upload one!</small>]]}}}  
{{!}}rowspan=3 style="padding:4px;text-align:center;width:20%"{{!}}{{{image|[[File:Nocoverart.png|100px|center]]
|-  
[[Special:Upload|<small>Upload one!</small>]]}}}
|'''Internal ID'''
{{!}}style="border-bottom:3px solid aqua;background:aliceblue;width:70px"{{!}}'''HP'''
| {{{internalid|}}}
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{hp|}}}
|- style=background:#ececf2
{{!}}style="border-bottom:3px solid aqua;width:70px"{{!}}'''Power'''
|'''Location(s)'''
{{!}}style="border-bottom:3px solid aqua"{{!}}{{{power|}}}
| {{{location|}}}
{{!}}style="border-bottom:3px solid aqua;background:aliceblue;width:70px"{{!}}'''Defense'''
|-  
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{def|}}}
|'''HP'''
{{!}}style="border-bottom:3px solid aqua;width:70px"{{!}}'''Speed'''
| {{{hp|}}}
{{!}}style="border-bottom:3px solid aqua"{{!}}{{{speed|}}}
|-style=background:#ececf2
{{!}}-
|'''Power'''
{{!}}style="background:aliceblue"{{!}}<span title="The item(s) dropped by the enemy, with the drop rate(s).">'''Item Drop'''</span>
| {{{power|}}}
{{!}}style="background:aliceblue"{{!}}{{{items|}}}
|-
{{!}}'''Experience'''
| '''Defense'''
{{!}} {{{exp|}}}
|{{{defense|}}}
{{!}}style="background:aliceblue"{{!}}'''Coins'''
|- style=background:#ececf2
{{!}}style="background:aliceblue"{{!}}{{{coins|}}}
| '''Speed'''
{{!}}'''Location(s)'''
|{{{speed|}}}
{{!}} {{{location|}}}
|-  
{{!}}-
| '''Experience'''
{{!}}style="background:#99FFFF"{{!}}'''Notice'''
| {{{experience|}}}
{{!}}colspan=7 style="background:#99FFFF"{{!}}
|-style=background:#ececf2
*Stats in parentheses are from the Japanese version (if they differ from the original American and European stats).
| '''Coins'''
|left|right=!colspan=2 style="font-size:120%;text-align:center;background:#00DDFF"{{!}}''{{color-link-piped|Mario & Luigi: Partners in Time|black|Partners in Time}}'' Enemy
| {{{coins|}}}
{{!}}-
|-
{{!}}colspan=2 style="font-size:125%;text-align:center;background:aqua"{{!}}{{{name|{{PAGENAME}}}}}
|'''Items'''
{{!}}-
|{{{items|}}}
{{!}}style="padding:4px;text-align:center" colspan=2{{!}} {{{image|[[File:Nocoverart.png|100px|center]]
|-style=background:#ececf2
[[Special:Upload|<small>Upload one!</small>]]}}}
|'''Related'''
{{!}}-style=background:aliceblue
|{{{related|}}}
{{!}}style=width:70px{{!}}'''Location(s)'''
|-
{{!}} {{{location|}}}
{{#if:{{{notice|}}} |
{{!}}-
{{!}}-style=background:#ececf2; {{Radius|0 0 5px 5px}}
{{!}}'''HP'''
{{!}}'''Notice'''
{{!}} {{{hp|}}}
{{!}}{{{notice|}}}
{{!}}- style=background:aliceblue
{{!}}'''Power'''
{{!}} {{{power|}}}
{{!}}-
{{!}}'''Defense'''
{{!}} {{{def|}}}
{{!}}- style=background:aliceblue
{{!}}'''Speed'''
{{!}} {{{speed|}}}
{{!}}-
{{!}} '''Experience'''
{{!}}{{{exp|}}}
{{!}}- style=background:aliceblue
{{!}} '''Coins'''
{{!}}{{{coins|}}}
{{!}}-
{{!}}<span title="The item(s) dropped by the enemy, with the drop rate(s).">'''Item Drop'''</span>
{{!}} {{{items|}}}
{{!}}-
{{!}}colspan=2 style=padding:0;{{!}}
{{{!}} class="mw-collapsible mw-collapsed" cellspacing=0 cellpadding=2 style=width:100%
! style="background:aqua"{{!}}Notice
{{!}}-
{{!}}style="padding:0 0 2px 0;background:#99FFFF"{{!}}
*Stats in parentheses are from the Japanese and European versions (if they differ from the original American stats).
{{!}}}
}}
}}
|}<noinclude>
|}<noinclude>{{br}}[[Category:Infobox Templates|{{PAGENAME}}]]
This template is for information on enemies in ''[[Mario & Luigi: Partners in Time]]''. The variables are as follows:
==Usage==
 
<pre>
{|
{{Pitenemy
|<pre>{{pitenemy
|name=
|name=
|image=
|image=
|align=
|internalid=
|location=
|location=
|hp=
|hp=
|power=
|power=
|def=
|defense=
|speed=
|speed=
|exp=
|experience=
|coins=
|coins=
|items=
|items=
}}</pre>
|related=
|<pre>&nbsp;
|notice=
The enemy's name (the page title is the default).
}}
An image of the enemy.
</pre></noinclude>
"Right" (default), "left" or "horizontal"
Where the enemy can be found.
The enemy's HP.
The enemy's attack power.
The enemy's defense.
The enemy's speed.
The amount of EXP gained from defeating the enemy.
The coins gained from defeating the enemy.
The item(s) dropped by the enemy.
&nbsp;
</pre>
|}
 
If no items can be dropped, put "none" in that variable. The North American stats can be found on the [[Mario & Luigi: Partners in Time bestiary|''Mario & Luigi: Partners in Time'' bestiary]] article, and both the American and Japanese/European stats can be found [http://themushroomkingdom.net/mlpit_guide.shtml here].
 
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.
 
{{pitenemy|align=horizontal}}
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>

Revision as of 01:02, April 28, 2016

align=center colspan="2" bgcolor="#BBC" style="font-size:120%;color:white;Template:Radius"|Template:Color-link-piped Enemy
M&LPIT enemy
Used in case of images missing from a section gallery, table, bestiary box, or certain infoboxes.

Upload one!
Internal ID
Location(s)
HP
Power
Defense
Speed
Experience
Coins
Items
Related

Usage

{{Pitenemy
|name=
|image=
|internalid=
|location=
|hp=
|power=
|defense=
|speed=
|experience=
|coins=
|items=
|related=
|notice=
}}