Template:M&LDT enemy: Difference between revisions

m
Text replacement - ";border-spacing:0"" to """
m (Text replacement - ";border-spacing:0"" to """)
(46 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{| cellpadding=2 cellspacing=2 width=250px align=right style="font-family: verdana; font-size:11px; background: #c8dbb7; border:1px solid #b6c8db; margin:5px; float:{{{float|right}}}" class=infobox
{| class="infobox{{#ifeq:{{{align|right}}}|horizontal|-wide}}" style="{{#ifeq:{{{align|right}}}|right|width:250px}};background:#CFEEFF;border-color:aliceblue"
|-style=background:#afcc95 align="center"
{{#switch:{{{align|right}}}
!colspan="2" style="font-size:120%" |''[[Mario & Luigi: Dream Team|Dream Team]]'' Enemy
|horizontal=!colspan=9 style="font-size:120%;text-align:center;background:#00DDFF"{{!}}''{{color-link|Mario & Luigi: Dream Team|black}}'' enemy
|-align="center"
{{!}}-
|colspan="2"|{{{image|[[Image:Nocoverart.png|100px|center]]<br>[[Special:Upload|<small>Upload one!</small>]]}}}  
{{!}}colspan=9 style="font-size:125%;text-align:center;background:aqua"{{!}}'''{{color-link|{{{name|Enemy Name}}}|black|{{{altname|{{{name|Enemy Name}}}}}}}}'''
|-style=background:#d6e7c8
{{!}}-
!colspan="2" style="font-size:125%" |'''{{{name|{{PAGENAME}}}}}'''
{{!}}rowspan=4 style="padding:4px;text-align:center;width:20%"{{!}}{{{image|[[File:Nocoverart.png|100px|center|class=notpageimage]]
|-
[[Special:Upload|<small>Upload one!</small>]]}}}
|'''Location(s) '''
{{!}}style="border-bottom:3px solid aqua;background:aliceblue;width:70px"{{!}}'''HP'''
|{{{location|}}}
{{!}}style="border-bottom:3px solid aqua;background:aliceblue;width:16%"{{!}}{{{hp|}}}
|-style=background:#d6e7c8
{{!}}style="border-bottom:3px solid aqua;width:70px"{{!}}'''Role'''
|'''HP'''
{{!}}style="border-bottom:3px solid aqua;width:16%"{{!}}{{{role|}}}
|{{{hp|}}}
{{!}}style="border-bottom:3px solid aqua;background:aliceblue;width:70px"{{!}}<span title="The enemy's level.">'''Level'''</span>
|-
{{!}}style="border-bottom:3px solid aqua;background:aliceblue;width:16%"{{!}}{{{lvl|}}}
|'''Power'''
{{!}}rowspan=2 style="border-bottom:3px solid aqua;width:70px"{{!}}'''Location(s)'''
|{{{power|}}}
{{!}}rowspan=2 style="border-bottom:3px solid aqua;width:30%"{{!}}{{{location|}}}
|-
{{!}}-
|-style=background:#d6e7c8
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}'''Power'''
|'''Defense'''
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{power|}}}
|{{{defense|}}}
{{!}}style="border-bottom:3px solid aqua;width"{{!}}'''Position'''
|-
{{!}}style="border-bottom:3px solid aqua"{{!}}{{{position|}}}
|'''Speed'''
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}<span title="The enemy's number in the No Hitter Expert Challenge.">'''No Hitter'''</span>
|{{{speed|}}}
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{nohitter|}}}
|-
{{!}}-
|-style=background:#d6e7c8
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}'''Defense'''
|'''Experience'''
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{def|}}}
|{{{experience|}}}
{{!}}style="border-bottom:3px solid aqua"{{!}}{{nowrap|'''World'''}}
|-
{{!}}style="border-bottom:3px solid aqua"{{!}}{{{world|}}}
|'''Coins'''
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}<span title="The type of attack that the enemy is weak to.">'''Weakness'''</span>
|{{{coins|}}}
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{weak|}}}
|-
{{!}}rowspan=2 style="border-bottom:3px solid aqua"{{!}}<span title="The item(s) dropped by the enemy, with the drop rate(s). These may be changed with Clothing.">'''Item drop'''</span>
|-style=background:#d6e7c8
{{!}}rowspan=2 style="border-bottom:3px solid aqua"{{!}}{{{items|}}}
|'''Items'''
{{!}}-
|{{{items|}}}
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}'''Speed'''
|-
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{speed|}}}
|'''Gear'''
{{!}}style="border-bottom:3px solid aqua"{{!}}<span title="This amount can be changed with Clothing.">'''Experience'''</span>
|{{{gear|}}}
{{!}}style="border-bottom:3px solid aqua"{{!}}{{{exp|}}}
|-
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}<span title="This amount can be changed with Clothing.">'''Coins'''</span>
|-style=background:#d6e7c8
{{!}}style="border-bottom:3px solid aqua;background:aliceblue"{{!}}{{{coins|}}}
|'''Related'''
|left|right=!colspan=2 style="font-size:120%;text-align:center;background:#00DDFF"{{!}}''{{color-link|Mario & Luigi: Dream Team|black|Dream Team}}'' enemy
|{{{related|}}}
{{!}}-
|}<noinclude><br clear=all>[[Category:Infobox Templates|{{PAGENAME}}]]
{{!}}colspan=2 style="font-size:125%;text-align:center;background:aqua"{{!}}'''{{color-link|{{{name|Enemy Name}}}|black|{{{altname|{{{name|Enemy Name}}}}}}}}'''
{{!}}-
{{!}}colspan=2 style="padding:4px;text-align:center"{{!}} {{{image|[[File:Nocoverart.png|100px|center|class=notpageimage]]
[[Special:Upload|<small>Upload one!</small>]]}}}
{{!}}-style=background:aliceblue
{{!}}style=width:70px{{!}}'''Location(s)'''
{{!}} {{{location|}}}
{{!}}-
{{!}}'''Role'''
{{!}} {{{role|}}}
{{!}}- style=background:aliceblue
{{!}}'''Position'''
{{!}} {{{position|}}}
{{!}}-
{{!}}<span title="The enemy's level.">'''Level'''</span>
{{!}} {{{lvl|}}}
{{!}}- style=background:aliceblue
{{!}}'''HP'''
{{!}} {{{hp|}}}
{{!}}-
{{!}}'''Power'''
{{!}}{{{power|}}}
{{!}}- style=background:aliceblue
{{!}}'''Defense'''
{{!}} {{{def|}}}
{{!}}-
{{!}}'''Speed'''
{{!}} {{{speed|}}}
{{!}}- style=background:aliceblue
{{!}}<span title="The type of attack that the enemy is weak to.">'''Weakness'''</span>
{{!}} {{{weak|}}}
{{!}}-
{{!}} <span title="This amount can be changed with Clothing.">'''Experience'''</span>
{{!}}{{{exp|}}}
{{!}}- style=background:aliceblue
{{!}} <span title="This amount can be changed with Clothing.">'''Coins'''</span>
{{!}}{{{coins|}}}
{{!}}-
{{!}}<span title="The item(s) dropped by the enemy, with the drop rate(s). These may be changed with Clothing.">'''Item drop'''</span>
{{!}} {{{items|}}}
{{!}}- style=background:aliceblue
{{!}}<span title="The enemy's number in the No Hitter Expert Challenge.">'''No Hitter'''</span>
{{!}} {{{nohitter|}}}
{{!}}-
{{!}}style="padding:2px 2px 0 2px"{{!}}<span title="This amount can be changed with Clothing.">'''World'''</span>
{{!}}style="padding:2px 2px 0 2px"{{!}}{{{world|}}}
}}
|}<noinclude>
This template is for information on enemies in ''[[Mario & Luigi: Dream Team]]''. The variables are as follows:


==Usage==
{|
<pre>
|<pre>{{M&LDT enemy
{{Levelbox
|name=
|title=mario and luigi dream team
|image=
|image=goomby
|align=
|location=neobowserium
|location=
|hp=250
|lvl=
|hp=
|power=
|power=
|defense=
|def=
|speed=
|speed=
|experience=
|weak=
|exp=
|coins=
|coins=
|items=mushroom
|items=
|gear=
|nohitter=
|related=
|world=
}}
|position=
</pre></noinclude>
}}</pre>
|<pre>&nbsp;
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 level.
The enemy's HP.
The enemy's power
The enemy's defense.
The enemy's speed.
The type of attack that the enemy is weak to.
The amount of EXP gained from beating the enemy.*
The coins gained from defeating the enemy.*
The item(s) dropped by the enemy.*
The enemy's number in the No Hitter challenges.
World the enemy is in (see bestiary).
The enemy's position (see bestiary)
&nbsp;
</pre>
|}
 
The asterisk'd ones (*) are ones that can be changed by [[List of clothing in Mario & Luigi: Dream Team|Clothing]], as explained in the hover-over text. If no items can be dropped, put "none" in that variable. All of the stats, as well as explanations, can be found on the two tables included in the [[Mario & Luigi: Dream Team bestiary|''Mario & Luigi: Dream Team'' bestiary]] article.
 
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 qualifiers in parentheses), the Name= variable is not needed.
 
{{M&LDT enemy|align=horizontal}}
[[Category:Hybrid infoboxes]]</noinclude>