Template:Infobox character: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (25 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly><div class="infobox"> | ||
< | <div class="infobox-bg"> | ||
< | <div class="infobox-title"{{#if:{{{color|}}}|style="color:{{{color|}}};"|}}>{{{name|Character full name}}}{{#if:{{{alias|}}}|<span>{{{alias}}}</span>}}</div> | ||
{{#if:{{{image|}}}| | |||
{{#if:{{{image|}}}| | <div class="infobox-image"{{#if:{{{margin|}}}|style="margin:{{{margin|}}};"|}}>[[File:{{{image}}}|link=|alt="{{PAGENAME}} illustration"]]</div> | ||
}} | |||
</div> | |||
</ | {{#if:{{{species|}}}{{{nationality|}}}{{{gender|}}}{{{age|}}}{{{height|}}}{{{weight|}}}{{{bust|}}}{{{hair|}}}{{{eyes|}}}{{{orientation|}}}| | ||
<div class="infobox-subheader">Appearance</div> | |||
{{#if:{{{species|}}}{{{ | <table class="infobox-table"> | ||
< | {{#if:{{{species|}}}| | ||
<tr> | |||
< | <th scope="row">Species</th> | ||
{{#if:{{{species|}}}| | <td>{{{species}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{nationality|}}}| | |||
<tr> | |||
}} | <th scope="row">Nationality</th> | ||
{{#if:{{{ | <td>{{{nationality}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{gender|}}}| | |||
<tr> | |||
}} | <th scope="row">Gender</th> | ||
{{#if:{{{ | <td>{{{gender}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{age|}}}| | |||
<tr> | |||
}} | <th scope="row">Age</th> | ||
{{#if:{{{age|}}}| | <td>{{{age}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{height|}}}| | |||
<tr> | |||
}} | <th scope="row">Height</th> | ||
{{#if:{{{height|}}}| | <td>{{{height}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{weight|}}}| | |||
<tr> | |||
}} | <th scope="row">Weight</th> | ||
{{#if:{{{weight|}}}| | <td>{{{weight}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{bust|}}}| | |||
<tr> | |||
}} | <th scope="row">Bust size</th> | ||
{{#if:{{{bust|}}}| | <td>{{{bust}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{hair|}}}| | |||
<tr> | |||
}} | <th scope="row">Hair color</th> | ||
{{#if:{{{hair|}}}| | <td>{{{hair}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{eyes|}}}| | |||
<tr> | |||
}} | <th scope="row">Eye color</th> | ||
{{#if:{{{eyes|}}}| | <td>{{{eyes}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{orientation|}}}| | |||
<tr> | |||
}} | <th scope="row">Orientation</th> | ||
{{#if:{{{orientation|}}}| | <td>{{{orientation}}}</td> | ||
</tr> | |||
}}</table>}} | |||
}} | |||
}} | |||
{{#if:{{{pregnancy|}}}{{{dating|}}}{{{relatives|}}}| | {{#if:{{{pregnancy|}}}{{{dating|}}}{{{relatives|}}}| | ||
< | <div class="infobox-subheader">Information</div> | ||
<table class="infobox-table"> | |||
< | {{#if:{{{relatives|}}}| | ||
{{#if:{{{relatives|}}}| | <tr> | ||
<th scope="row">Relatives</th> | |||
<td>{{{relatives}}}</td> | |||
</tr> | |||
}} | |||
}} | {{#if:{{{dating|}}}| | ||
{{#if:{{{dating|}}}| | <tr> | ||
<th scope="row">Dating</th> | |||
<td>{{{dating}}}</td> | |||
</tr> | |||
}} | |||
}} | {{#if:{{{pregnancy|}}}| | ||
{{#if:{{{pregnancy|}}}| | <tr> | ||
<th scope="row">Pregnancy</th> | |||
<td>{{{pregnancy}}}</td> | |||
</tr> | |||
}}</table>}} | |||
}} | |||
}} | |||
{{#if:{{{morning|}}}{{{afternoon|}}}{{{evening|}}}| | {{#if:{{{morning|}}}{{{afternoon|}}}{{{evening|}}}| | ||
< | <div class="infobox-subheader">Schedule</div> | ||
<table class="infobox-table"> | |||
< | {{#if:{{{morning|}}}| | ||
{{#if:{{{morning|}}}| | <tr> | ||
<th scope="row">Morning</th> | |||
<td>{{{morning}}}</td> | |||
</tr> | |||
}} | |||
}} | {{#if:{{{afternoon|}}}| | ||
{{#if:{{{afternoon|}}}| | <tr> | ||
<th scope="row">Afternoon</th> | |||
<td>{{{afternoon}}}</td> | |||
</tr> | |||
}} | |||
}} | {{#if:{{{evening|}}}| | ||
{{#if:{{{evening|}}}| | <tr> | ||
<th scope="row">Evening</th> | |||
<td>{{{evening}}}</td> | |||
</tr> | |||
}} | |||
}} | </table>}}</div></includeonly><noinclude>[[Category:Templates]]</noinclude> | ||
}} | |||
</ | |||