Template:LM portrait 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:{{{full_name|}}} | {{!}}-
{{#if:{{{full_name|}}}|
{{!}} '''Full name''' {{!}}{{!}} {{{full_name}}} }}
{{!}} '''Full name'''
{{#if:{{{age|}}} | {{!}}-
{{!}} {{{full_name}}}
{{!}} '''Age''' {{!}}{{!}} {{{age}}} }}
}}
{{#if:{{{biography|}}} | {{!}}-
|-
{{!}} '''Biography''' {{!}}{{!}} {{{biography}}} }}
{{#if:{{{age|}}}|
{{#if:{{{room|}}} | {{!}}-
{{!}} '''Age'''
{{!}} '''Room''' {{!}}{{!}} {{{room}}} }}
{{!}} {{{age}}}
{{#if:{{{hp|}}} | {{!}}-
}}
{{!}} '''Life''' {{!}}{{!}} {{{hp|100}}} }}
|-
{{#if:{{{quote|}}} | {{!}}-
{{#if:{{{biography|}}}|
{{!}} '''Heart quote''' {{!}}{{!}} {{{quote}}} }}
{{!}} '''Biography'''
{{!}} {{{biography}}}
}}
|-
{{#if:{{{room|}}}|
{{!}} '''Room'''
{{!}} {{{room}}}
}}
|-
{{#if:{{{hp|}}}|
{{!}} '''HP'''
{{!}} {{{hp}}}
}}
|-
{{#if:{{{quote|}}}|
{{!}} '''Heart quote'''
{{!}} {{{quote}}}
}}
|}<noinclude>{{br}}
|}<noinclude>{{br}}
==Usage instructions==
==Usage instructions==
Provides info about the 23 Portrait Ghosts in ''[[Luigi's Mansion]]''.
Provides info about the 23 Portrait Ghosts in ''[[Luigi's Mansion]]''.


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 31: Line 48:
|biography=
|biography=
|room=
|room=
|life=
|hp=
|quote=
|quote=
}}
}}

Revision as of 12:24, May 4, 2022

LM portrait infobox

Usage instructions

Provides info about the 23 Portrait Ghosts in Luigi's Mansion.

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

{{LM portrait infobox
|title=
|image=
|width=
|full_name=
|age=
|biography=
|room=
|hp=
|quote=
}}