Template:Infobox character: Difference between revisions

From United Vinland
Create infobox template
 
Deploy infobox template
 
Line 1: Line 1:
<noinclude>
<noinclude>
Character infobox template for The Natural Order wiki.
Character infobox template for The Natural Order wiki.
</noinclude><div style="float:right; border:1px solid #aaa; background:#f9f9f9; padding:10px; margin:0 0 10px 10px; width:250px;">
Usage: {{Infobox character | name = | age = | birthplace = | occupation = | father = | mother = | spouse = | children = | siblings = }}
</noinclude><div class="infobox" style="float:right; border:1px solid #aaa; background:#f9f9f9; padding:10px; margin:0 0 10px 10px; width:250px;">
<div style="text-align:center; font-size:1.2em; font-weight:bold; background:#333; color:#fff; padding:5px;">'''{{{name|}}}'''</div>
<div style="text-align:center; font-size:1.2em; font-weight:bold; background:#333; color:#fff; padding:5px;">'''{{{name|}}}'''</div>
{{#if:{{{age|}}}|
<div style="padding:3px 0;">'''Age:''' {{{age}}}</div>
}}
{{#if:{{{birthplace|}}}|
{{#if:{{{birthplace|}}}|
<div style="padding:3px 0;">'''Birthplace:''' {{{birthplace}}}</div>
<div style="padding:3px 0;">'''Birthplace:''' {{{birthplace}}}</div>
Line 14: Line 18:
{{#if:{{{mother|}}}|
{{#if:{{{mother|}}}|
<div style="padding:3px 0;">'''Mother:''' {{{mother}}}</div>
<div style="padding:3px 0;">'''Mother:''' {{{mother}}}</div>
}}
{{#if:{{{spouse|}}}|
<div style="padding:3px 0;">'''Spouse:''' {{{spouse}}}</div>
}}
{{#if:{{{children|}}}|
<div style="padding:3px 0;">'''Children:''' {{{children}}}</div>
}}
{{#if:{{{siblings|}}}|
<div style="padding:3px 0;">'''Siblings:''' {{{siblings}}}</div>
}}
}}
</div>
</div>

Latest revision as of 15:42, 28 April 2026

Character infobox template for The Natural Order wiki.

Usage:

'





'