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:
{| class="infobox" cellpadding=3 cellspacing=2 width=220px style="font-familywidth: arial, sans-serif220px; 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"
|! aligncolspan="center" valign="center2" style="backgroundfont-colorsize:125%;background:#eef; border:1px solid #88c" colspan=2 |{{#if: {{{icon|}}}|<span style="float:left;width:0em;text-align:left;0">[[ImageFile:{{{icon}}}|x18px]]</span>}}<font size=3>'''{{{titlename|{{PAGENAME}}}}}'''</font>
|-
| 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|}}}|[[ImageFile:{{{image|}}}|{{{width|100}}}px|center]]}}
|-
{{#if:{{{fullnamefull_name|}}} | {{!}}-
{{!}} '''Full Namename''' {{!}}{{!}} {{{fullname}}} }}
{{#if:{{{age|}!}} | {{!{full_name}}}-
}}
{{!}} '''Age''' {{!}}{{!}} {{{age}}} }}
|-
{{#if:{{{biography|}}} | {{!}}-
{{#if:{{{hpage|}}} | {{!}}-
{{!}} '''Biography''' {{!}}{{!}} {{{biography}}} }}
{{!}} '''Age'''
{{#if:{{{room|}}} | {{!}}-
{{!}} '''Room''' {{!}}{{!}} {{{room}}age} }}
}}
{{#if:{{{hp|}}} | {{!}}-
|-
{{!}} '''Life''' {{!}}{{!}} {{{hp|100}}} }}
{{#if:{{{quotebiography|}}} | {{!}}-
{{!}} '''Heart QuoteBiography''' {{!}}{{!}} {{{quote}}} }}
{{#if:!}} {{{biography|}}} | {{!}}-
|}<noinclude><br clear="all">
}}
==Usage Instructions==
|-
{{#if:{{{room|}}} | {{!}}-
{{!}} '''Room'''
{{!}} {{{room}}}
}}
|-
{{#if:{{{hp|}}}|
{{!}} '''HP'''
{{!}} {{{hp}}}
}}
|-
{{#if:{{{quote|}}}|
{{!}} '''Heart quote'''
{{!}} {{{quote}}}
}}
|}<noinclude><{{br clear="all">}}
==Usage Instructionsinstructions==
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.
 
<pre>
{{LM portrait- infobox
|title=
|image=
|width=
|full_name=
|fullname=
|age=
|biography=
|room=
|lifehp=
|quote=
}}
</pre>
 
[[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=
}}