Template:M&LPIT enemy: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (Reverted edits by Fawful's Minion (talk) to last revision by Walkazo)
Line 1: Line 1:
{|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}}"
{|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"
!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
{{#switch: {{{align|right}}}
|-
|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]]
|'''Internal ID'''
[[Special:Upload|<small>Upload one!</small>]]}}}
| {{{internalid|}}}
{{!}}style="border-bottom:3px solid aqua;background:aliceblue;width:70px"{{!}}'''HP'''
|- style=background:#ececf2
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{hp|}}}
|'''Location(s)'''
{{!}}style="border-bottom:3px solid aqua;width:70px"{{!}}'''Power'''
| {{{location|}}}
{{!}}style="border-bottom:3px solid aqua"{{!}}{{{power|}}}
|-  
{{!}}style="border-bottom:3px solid aqua;background:aliceblue;width:70px"{{!}}'''Defense'''
|'''HP'''
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{def|}}}
| {{{hp|}}}
{{!}}style="border-bottom:3px solid aqua;width:70px"{{!}}'''Speed'''
|-style=background:#ececf2
{{!}}style="border-bottom:3px solid aqua"{{!}}{{{speed|}}}
|'''Power'''
{{!}}-
| {{{power|}}}
{{!}}style="background:aliceblue"{{!}}<span title="The item(s) dropped by the enemy, with the drop rate(s).">'''Item Drop'''</span>
|-
{{!}}style="background:aliceblue"{{!}}{{{items|}}}
| '''Defense'''
{{!}}'''Experience'''
|{{{defense|}}}
{{!}} {{{exp|}}}
|- style=background:#ececf2
{{!}}style="background:aliceblue"{{!}}'''Coins'''
| '''Speed'''
{{!}}style="background:aliceblue"{{!}}{{{coins|}}}
|{{{speed|}}}
{{!}}'''Location(s)'''
|-  
{{!}} {{{location|}}}
| '''Experience'''
{{!}}-
| {{{experience|}}}
{{!}}style="background:#99FFFF"{{!}}'''Notice'''
|-style=background:#ececf2
{{!}}colspan=7 style="background:#99FFFF"{{!}}
| '''Coins'''
*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
|-
{{!}}-
|'''Items'''
{{!}}colspan=2 style="font-size:125%;text-align:center;background:aqua"{{!}}{{{name|{{PAGENAME}}}}}
|{{{items|}}}
{{!}}-
|-style=background:#ececf2
{{!}}style="padding:4px;text-align:center" colspan=2{{!}} {{{image|[[File:Nocoverart.png|100px|center]]
|'''Related'''
[[Special:Upload|<small>Upload one!</small>]]}}}
|{{{related|}}}
{{!}}-style=background:aliceblue
|-
{{!}}style=width:70px{{!}}'''Location(s)'''
{{#if:{{{notice|}}} |
{{!}} {{{location|}}}
{{!}}-style=background:#ececf2; {{Radius|0 0 5px 5px}}
{{!}}-
{{!}}'''Notice'''
{{!}}'''HP'''
{{!}}{{{notice|}}}
{{!}} {{{hp|}}}
{{!}}- 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 version (if they differ from the original American and European stats).
{{!}}}
}}
}}
|}<noinclude>{{br}}[[Category:Infobox Templates|{{PAGENAME}}]]
|}<noinclude>
==Usage==
This template is for information on enemies in ''[[Mario & Luigi: Partners in Time]]''. The variables are as follows:
<pre>
 
{{Pitenemy
{|
|<pre>{{pitenemy
|name=
|name=
|image=
|image=
|internalid=
|align=
|location=
|location=
|hp=
|hp=
|power=
|power=
|defense=
|def=
|speed=
|speed=
|experience=
|exp=
|coins=
|coins=
|items=
|items=
|related=
}}</pre>
|notice=
|<pre>&nbsp;
}}
The enemy's name (the page title is the default).
</pre></noinclude>
An image of the enemy.
"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:59, April 28, 2016

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!

Location(s)
HP
Power
Defense
Speed
Experience
Coins
Item Drop
Notice
  • Stats in parentheses are from the Japanese version (if they differ from the original American and European stats).

This template is for information on enemies in Mario & Luigi: Partners in Time. The variables are as follows:

{{pitenemy
|name=
|image=
|align=
|location=
|hp=
|power=
|def=
|speed=
|exp=
|coins=
|items=
}}
 
The enemy's name (the page title is the default).
An image of the enemy.
"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.
 

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 article, and both the American and Japanese/European stats can be found 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.

Template:Pitenemy