Template:LM ghost infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:
| colspan="2" | {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{width|100}}}px|center]]}}
| colspan="2" | {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{width|100}}}px|center]]}}
|-
|-
{{#if:{{{mansion|}}} | {{!}}-
{{#if:{{{mansion|}}}|
{{!}} '''Mansion''' {{!}}{{!}} {{{mansion}}} }}
{{!}} '''Mansion'''
{{#if:{{{floor|}}} | {{!}}-
{{!}} {{{mansion}}}
{{!}} '''Floor''' {{!}}{{!}} {{{floor}}} }}
}}
{{#if:{{{room|}}} | {{!}}-
|-
{{!}} '''Room''' {{!}}{{!}} {{{room}}} }}
{{#if:{{{floor|}}}|
{{#if:{{{hp|}}} | {{!}}-
{{!}} '''Floor'''
{{!}} '''HP''' {{!}}{{!}} {{{hp|100}}} }}
{{!}} {{{floor}}}
}}
|-
{{#if:{{{room|}}}|
{{!}} '''Room'''
{{!}} {{{room}}}
}}
|-
{{#if:{{{hp|}}}|
{{!}} '''HP'''
{{!}} {{{hp}}}
}}
|}<noinclude>{{br}}
|}<noinclude>{{br}}
==Usage instructions==
==Usage instructions==
Provides info about the ghosts in ''[[Luigi's Mansion: Dark Moon]]'' and ''[[Luigi's Mansion 3]]''.
Provides info about the ghosts in ''[[Luigi's Mansion: Dark Moon]]'' and ''[[Luigi's Mansion 3]]''.


All rows will disappear if respective variables are not defined. Width is for image only, default 100px, HP is default 100.
All rows will disappear if respective variables are not defined. Width is for image only, default 100px.


<pre>
<pre>
Line 26: Line 37:
|floor=
|floor=
|room=
|room=
|life=
|hp=
}}
}}
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 13:20, May 4, 2022

LM ghost infobox

Usage instructions

Provides info about the ghosts in Luigi's Mansion: Dark Moon and Luigi's Mansion 3.

All rows will disappear if respective variables are not defined. Width is for image only, default 100px.

{{LM ghost infobox
|title=
|image=
|width=
|mansion=
|floor=
|room=
|hp=
}}