Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox character: Difference between revisions

Template page
Arboris (talk | contribs)
No edit summary
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude><table style="float:right; clear:right; margin:0.5em 0 1.3em 1.4em; border-spacing:4px; background:#3F4454; color:white; text-align:left; font-size:small; line-height:1.4em; width:200px;">
<includeonly><div class="infobox">
<tr>
<div class="infobox-bg">
<th colspan="2" style="text-align:center; font-size:large; background:#3F4562; border:thin solid #8B94AA; padding:3px 0; line-height:1.4em;">{{#if:{{{color|}}}|{{font color|{{{color}}}|{{{name|Character full name}}}}}|{{{name|Character full name}}}}}
<div class="infobox-title"{{#if:{{{color|}}}|style="color:{{{color|}}};"|}}>{{{name|Character full name}}}{{#if:{{{alias|}}}|<span>{{{alias}}}</span>}}</div>
{{#if:{{{alias|}}}|
{{#if:{{{image|}}}|
<div style="text-align:center; font-size:x-small; color:{{{color|white}}}; padding:0 0 5px 0; line-height:1em;">{{{alias}}}
<div class="infobox-image"{{#if:{{{margin|}}}|style="margin:{{{margin|}}};"|}}>[[File:{{{image}}}|link=|alt="{{PAGENAME}} illustration"]]</div>
</div>
}}
}}
</tr>
</div>
{{#if:{{{image|}}}|
{{#if:{{{species|}}}{{{nationality|}}}{{{gender|}}}{{{age|}}}{{{height|}}}{{{weight|}}}{{{bust|}}}{{{hair|}}}{{{eyes|}}}{{{orientation|}}}|
<tr>
<div class="infobox-subheader">Appearance</div>
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|200px|alt="{{PAGENAME}} illustration"]]</td>
<table class="infobox-table">
</tr>
{{#if:{{{species|}}}|
}}
<tr>
{{#if:{{{species|}}}{{{nationality|}}}{{{gender|}}}{{{age|}}}{{{height|}}}{{{weight|}}}{{{bust|}}}{{{hair|}}}{{{eyes|}}}|{{{orientation|}}}
<th scope="row">Species</th>
<tr>
<td>{{{species}}}</td>
<th colspan="2" style="text-align:center; border-top:thin solid #8B94AA; border-bottom:thin solid #8B94AA; padding:0.2em 0;">Appearance</th>
</tr>
</tr>
}}
{{#if:{{{species|}}}|
{{#if:{{{nationality|}}}|
<tr>
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Species</th>
<th scope="row">Nationality</th>
<td>{{{species}}}</td>
<td>{{{nationality}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{nationality|}}}|
{{#if:{{{gender|}}}|
<tr>
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Nationality</th>
<th scope="row">Gender</th>
<td>{{{nationality}}}</td>
<td>{{{gender}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{gender|}}}|
{{#if:{{{age|}}}|
<tr>
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Gender</th>
<th scope="row">Age</th>
<td>{{{gender}}}</td>
<td>{{{age}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{age|}}}|
{{#if:{{{height|}}}|
<tr>
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Age</th>
<th scope="row">Height</th>
<td>{{{age}}}</td>
<td>{{{height}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{height|}}}|
{{#if:{{{weight|}}}|
<tr>
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Height</th>
<th scope="row">Weight</th>
<td>{{{height}}}</td>
<td>{{{weight}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{weight|}}}|
{{#if:{{{bust|}}}|
<tr>
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Weight</th>
<th scope="row">Bust size</th>
<td>{{{weight}}}</td>
<td>{{{bust}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{bust|}}}|
{{#if:{{{hair|}}}|
<tr>
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Bust size</th>
<th scope="row">Hair color</th>
<td>{{{bust}}}</td>
<td>{{{hair}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{hair|}}}|
{{#if:{{{eyes|}}}|
<tr>
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Hair color</th>
<th scope="row">Eye color</th>
<td>{{{hair}}}</td>
<td>{{{eyes}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{eyes|}}}|
{{#if:{{{orientation|}}}|
<tr>
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Eye color</th>
<th scope="row">Orientation</th>
<td>{{{eyes}}}</td>
<td>{{{orientation}}}</td>
</tr>
</tr>
}}
}}</table>}}
{{#if:{{{orientation|}}}|
<tr>
<th scope="row" style="width:69px; vertical-align:top;">Orientation</th>
<td>{{{orientation}}}</td>
</tr>
}}
}}
{{#if:{{{pregnancy|}}}{{{dating|}}}{{{relatives|}}}|
{{#if:{{{pregnancy|}}}{{{dating|}}}{{{relatives|}}}|
<tr>
<div class="infobox-subheader">Information</div>
<th colspan="2" style="text-align:center; border-top:thin solid #8B94AA; border-bottom:thin solid #8B94AA; padding:0.2em 0;">Information</th>
<table class="infobox-table">
</tr>
{{#if:{{{relatives|}}}|
{{#if:{{{relatives|}}}|
<tr>
<tr>
<th scope="row">Relatives</th>
<th scope="row" style="width:69px; vertical-align:top;">Relatives</th>
<td>{{{relatives}}}</td>
<td>{{{relatives}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{dating|}}}|
{{#if:{{{dating|}}}|
<tr>
<tr>
<th scope="row">Dating</th>
<th scope="row" style="width:69px; vertical-align:top;">Dating</th>
<td>{{{dating}}}</td>
<td>{{{dating}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{pregnancy|}}}|
{{#if:{{{pregnancy|}}}|
<tr>
<tr>
<th scope="row">Pregnancy</th>
<th scope="row" style="width:69px; vertical-align:top;">Pregnancy</th>
<td>{{{pregnancy}}}</td>
<td>{{{pregnancy}}}</td>
</tr>
</tr>
}}</table>}}
}}
}}
{{#if:{{{morning|}}}{{{afternoon|}}}{{{evening|}}}|
{{#if:{{{morning|}}}{{{afternoon|}}}{{{evening|}}}|
<tr>
<div class="infobox-subheader">Schedule</div>
<th colspan="2" style="text-align:center; border-top:thin solid #8B94AA; border-bottom:thin solid #8B94AA; padding:0.2em 0;">Schedule</th>
<table class="infobox-table">
</tr>
{{#if:{{{morning|}}}|
{{#if:{{{morning|}}}|
<tr>
<tr>
<th scope="row">Morning</th>
<th scope="row" style="width:69px; vertical-align:top;">Morning</th>
<td>{{{morning}}}</td>
<td>{{{morning}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{afternoon|}}}|
{{#if:{{{afternoon|}}}|
<tr>
<tr>
<th scope="row">Afternoon</th>
<th scope="row" style="width:69px; vertical-align:top;">Afternoon</th>
<td>{{{afternoon}}}</td>
<td>{{{afternoon}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{evening|}}}|
{{#if:{{{evening|}}}|
<tr>
<tr>
<th scope="row">Evening</th>
<th scope="row" style="width:69px; vertical-align:top;">Evening</th>
<td>{{{evening}}}</td>
<td>{{{evening}}}</td>
</tr>
</tr>
}}
}}
</table>}}</div></includeonly><noinclude>[[Category:Templates]]</noinclude>
}}
</table></onlyinclude><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 22:30, 27 January 2026