Template:LM portrait infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - ";"" to """)
(every portrait ghost has a gallery number in luigi's mansion.)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:220px; background-color:ghostwhite; border:1px solid #88c"
{| class="infobox" style="width:220px;background:ghostwhite;border-color:#88c"
! colspan="2" style="font-size:125%;background:#eef;border:1px solid #88c" |{{#if:{{{icon|}}}|<span style="float:left;width:0">[[File:{{{icon}}}|x18px]]</span>}} {{{title|{{PAGETITLE}}}}}
|-
| colspan="2" style="text-align:center" | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{width|100}}}px]]}}
|-
{{#if:{{{full_name|}}}|
{{!}} '''Full name'''
{{!}} {{{full_name}}}
}}
|-
{{#if:{{{age|}}}|
{{!}} '''Age'''
{{!}} {{{age}}}
}}
|-
{{#if:{{{biography|}}}|
{{!}} '''Biography'''
{{!}} {{{biography}}}
}}
|-
{{#if:{{{room|}}}|
{{!}} '''Room'''
{{!}} {{{room}}}
}}
|-
{{#if:{{{hp|}}}|
{{!}} '''HP'''
{{!}} {{{hp}}}
}}
|-
|-
| align="center" valign="center" style="background-color:#eef; border:1px solid #88c" colspan=2 |{{#if: {{{icon|}}}|<span style="float:left;width:0em;text-align:left">[[File:{{{icon}}}]]</span>}}<font size=3>'''{{{title|{{PAGENAME}}}}}'''</font>
{{#if:{{{gallery_number|}}}|
|-
{{!}} '''Gallery number'''
| colspan=2 | {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{width|100}}}px|center]]}}
{{!}} {{{gallery_number}}}
}}
|-
|-
{{#if:{{{fullname|}}} | {{!}}-
{{#if:{{{quote|}}}|
{{!}} '''Full Name''' {{!}}{{!}} {{{fullname}}} }}
{{!}} '''Heart quote'''
{{#if:{{{age|}}} | {{!}}-
{{!}} {{{quote}}}
{{!}} '''Age''' {{!}}{{!}} {{{age}}} }}
}}
{{#if:{{{biography|}}} | {{!}}-
{{!}} '''Biography''' {{!}}{{!}} {{{biography}}} }}
{{#if:{{{room|}}} | {{!}}-
{{!}} '''Room''' {{!}}{{!}} {{{room}}} }}
{{#if:{{{hp|}}} | {{!}}-
{{!}} '''Life''' {{!}}{{!}} {{{hp|100}}} }}
{{#if:{{{quote|}}} | {{!}}-
{{!}} '''Heart Quote''' {{!}}{{!}} {{{quote}}} }}
|}<noinclude>{{br}}
|}<noinclude>{{br}}
==Usage Instructions==
==Usage instructions==
Provides info about the 23 Portrait Ghosts in ''[[Luigi's Mansion]]''.
This infobox 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.


All rows will disappear if respective variables are not defined. Width is for image only, default 100px, HP is default 100
<pre>
<pre>
{{portrait-infobox
{{LM portrait infobox
|title=
|image=
|image=
|width=
|width=
|fullname=
|full_name=
|age=
|age=
|biography=
|biography=
|room=
|room=
|life=
|hp=
|gallery_number=
|quote=
|quote=
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 14:22, July 24, 2024

LM portrait infobox

Usage instructions

This infobox 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=
|gallery_number=
|quote=
}}