Template:InfoboxCharacter: Difference between revisions

No edit summary
Tag: Manual revert
No edit summary
Line 3: Line 3:
<table class="infobox">
<table class="infobox">
<tr><th colspan="2" class="infobox-title">{{{name|Character}}}</th></tr>
<tr><th colspan="2" class="infobox-title">{{{name|Character}}}</th></tr>
{{#if:{{{image|}}}{{{caption|}}}
{{#if:{{{image|}}}{{{caption|}}}<!--
|
-->|<!--
{{#if:{{{image|}}}|<tr><th colspan="2" class="infobox-image">[[File:{{{image}}}|250px|center|]]</th></tr>}}
-->{{#if:{{{image|}}}|<tr><th colspan="2" class="infobox-image">[[File:{{{image}}}|250px|center|]]</th></tr>}}<!--
{{#if:{{{caption|}}}|<tr><th colspan="2" class="infobox-caption">{{{caption}}}</th></tr>}}
-->{{#if:{{{caption|}}}|<tr><th colspan="2" class="infobox-caption">{{{caption}}}</th></tr>}}
}}
 
{{#if:{{{titles|}}}{{{born|}}}{{{died|}}}
|
<tr><th colspan="2" class="infobox-header">General</th></tr>
<tr><th colspan="2" class="infobox-header">General</th></tr>
{{#if:{{{titles|}}}|<tr><th class="infobox-label">Titles(s)</th><td>{{{titles}}}</td></tr>}}
{{#if:{{{titles|}}}|<tr><th class="infobox-label">Titles(s)</th><td>{{{titles}}}</td></tr>}}
{{#if:{{{born|}}}|<tr><th class="infobox-label">Born</th><td>{{{born}}}</td></tr>}}
{{#if:{{{born|}}}|<tr><th class="infobox-label">Born</th><td>{{{born}}}</td></tr>}}
{{#if:{{{died|}}}|<tr><th class="infobox-label">Died</th><td>{{{died}}}</td></tr>}}
{{#if:{{{died|}}}|<tr><th class="infobox-label">Died</th><td>{{{died}}}</td></tr>}}
}}
 
{{#if:{{{race|}}}{{{culture|}}}{{{gender|}}}{{{hairColor|}}}{{{eyeColor|}}}{{{appearanceOther|}}}
|
<tr><th colspan="2" class="infobox-header">Appearance</th></tr>
<tr><th colspan="2" class="infobox-header">Appearance</th></tr>
{{#if:{{{Guild|}}}|<tr><th>Guild</th><td>{{{Guild}}}</td></tr>}}
{{#if:{{{race|}}}|<tr><th class="infobox-label">Race</th><td>{{{race}}}</td></tr>}}
{{#if:{{{race|}}}|<tr><th class="infobox-label">Race</th><td>{{{race}}}</td></tr>}}
{{#if:{{{culture|}}}|<tr><th class="infobox-label">Culture</th><td>{{{culture}}}</td></tr>}}
{{#if:{{{culture|}}}|<tr><th class="infobox-label">Culture</th><td>{{{culture}}}</td></tr>}}
{{#if:{{{gender|}}}|<tr><th class="infobox-label">Gender</th><td>{{{gender}}}</td></tr>}}
{{#if:{{{gender|}}}|<tr><th class="infobox-label">Gender</th><td>{{{gender}}}</td></tr>}}
Line 24: Line 26:
{{#if:{{{eyeColor|}}}|<tr><th class="infobox-label">Eye Color</th><td>{{{eyeColor}}}</td></tr>}}
{{#if:{{{eyeColor|}}}|<tr><th class="infobox-label">Eye Color</th><td>{{{eyeColor}}}</td></tr>}}
{{#if:{{{appearanceOther|}}}|<tr><th class="infobox-label">Other</th><td>{{{appearanceOther}}}</td></tr>}}
{{#if:{{{appearanceOther|}}}|<tr><th class="infobox-label">Other</th><td>{{{appearanceOther}}}</td></tr>}}
}}
 
{{#if:{{{dynasty|}}}{{{house|}}}{{{spouses|}}}{{{children|}}}{{{father|}}}{{{mother|}}}
|
<tr><th colspan="2" class="infobox-header">Family</th></tr>
<tr><th colspan="2" class="infobox-header">Family</th></tr>
{{#if:{{{dynasty|}}}|<tr><th class="infobox-label">Dynasty</th><td>{{{dynasty}}}</td></tr>}}
{{#if:{{{dynasty|}}}|<tr><th class="infobox-label">Dynasty</th><td>{{{dynasty}}}</td></tr>}}
{{#if:{{{house|}}}|<tr><th class="infobox-label">House</th><td>{{{house}}}</td></tr>}}
{{#if:{{{house|}}}|<tr><th class="infobox-label">House</th><td>{{{house}}}</td></tr>}}
Line 34: Line 35:
{{#if:{{{father|}}}|<tr><th class="infobox-label">Father</th><td>{{{father}}}</td></tr>}}
{{#if:{{{father|}}}|<tr><th class="infobox-label">Father</th><td>{{{father}}}</td></tr>}}
{{#if:{{{mother|}}}|<tr><th class="infobox-label">Mother</th><td>{{{mother}}}</td></tr>}}
{{#if:{{{mother|}}}|<tr><th class="infobox-label">Mother</th><td>{{{mother}}}</td></tr>}}
}}
</table>
</table>
</includeonly><noinclude>{{InfoboxCharacter
</includeonly><noinclude>{{InfoboxCharacter