Template:LM portrait infobox: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
m (Text replacement - "\[\[Category:([^|]+)\|{{PAGENAME}}\]\]" to "Category:$1")
(From https://www.mariowiki.com/Template:LM_portrait_infobox)
Line 1: Line 1:
{| class="infobox" cellpadding=3 cellspacing=2 width=220px style="font-family: arial, sans-serif; padding: 4px; margin: {{#switch:{{{align|}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|0 0 1em 1em}}; font-size: 12px; background-color:ghostwhite; border:1px solid #88c;float:{{{align|right}}}; color:black"
{| class="infobox" style="width:220px;background:ghostwhite;border:1px solid #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>}} {{{name|{{PAGENAME}}}}}
|-
| 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;">[[Image:{{{icon}}}]]</span>}}<font size=3>'''{{{title|{{PAGENAME}}}}}'''</font>
|-
|-
| colspan=2 | {{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{width|100}}}px|center]]}}
| colspan="2" | {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{width|100}}}px|center]]}}
|-
|-
{{#if:{{{fullname|}}} | {{!}}-
{{#if:{{{full_name|}}}|
{{!}} '''Full Name''' {{!}}{{!}} {{{fullname}}} }}
{{!}} '''Full name'''
{{#if:{{{age|}}} | {{!}}-
{{!}} {{{full_name}}}
}}
{{!}} '''Age''' {{!}}{{!}} {{{age}}} }}
|-
{{#if:{{{biography|}}} | {{!}}-
{{#if:{{{age|}}}|
{{!}} '''Biography''' {{!}}{{!}} {{{biography}}} }}
{{!}} '''Age'''
{{#if:{{{room|}}} | {{!}}-
{{!}} '''Room''' {{!}}{{!}} {{{room}}} }}
{{!}} {{{age}}}
}}
{{#if:{{{hp|}}} | {{!}}-
|-
{{!}} '''Life''' {{!}}{{!}} {{{hp|100}}} }}
{{#if:{{{quote|}}} | {{!}}-
{{#if:{{{biography|}}}|
{{!}} '''Heart Quote''' {{!}}{{!}} {{{quote}}} }}
{{!}} '''Biography'''
{{!}} {{{biography}}}
|}<noinclude><br clear="all">
}}
==Usage Instructions==
|-
{{#if:{{{room|}}}|
{{!}} '''Room'''
{{!}} {{{room}}}
}}
|-
{{#if:{{{hp|}}}|
{{!}} '''HP'''
{{!}} {{{hp}}}
}}
|-
{{#if:{{{quote|}}}|
{{!}} '''Heart quote'''
{{!}} {{{quote}}}
}}
|}<noinclude>{{br}}
==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>
{{portrait-infobox
{{LM portrait infobox
|title=
|image=
|image=
|width=
|width=
|full_name=
|fullname=
|age=
|age=
|biography=
|biography=
|room=
|room=
|life=
|hp=
|quote=
|quote=
}}
}}
</pre>
</pre>

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

Revision as of 22:59, October 13, 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=
}}