Template:InfoboxCharacter: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
{{#if:{{{image|}}}{{{caption|}}} | {{#if:{{{image|}}}{{{caption|}}} | ||
| | | | ||
{{#if:{{{image|}}}|<tr><th colspan="2" class="infobox-image">[[File:{{{image}}}|250px|center|]]</ | {{#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}}}</ | {{#if:{{{caption|}}}|<tr><th colspan="2" class="infobox-caption">{{{caption}}}</th></tr>}} | ||
}} | }} | ||
{{#if:{{{titles|}}}{{{born|}}}{{{died|}}} | {{#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)</ | {{#if:{{{titles|}}}|<tr><th class="infobox-label">Titles(s)</th><td>{{{titles}}}</td></tr>}} | ||
{{#if:{{{born|}}}|<tr><th class="infobox-label">Born</ | {{#if:{{{born|}}}|<tr><th class="infobox-label">Born</th><td>{{{born}}}</td></tr>}} | ||
{{#if:{{{died|}}}|<tr><th class="infobox-label">Died</ | {{#if:{{{died|}}}|<tr><th class="infobox-label">Died</th><td>{{{died}}}</td></tr>}} | ||
}} | }} | ||
{{#if:{{{race|}}}{{{culture|}}}{{{gender|}}}{{{hairColor|}}}{{{eyeColor|}}}{{{appearanceOther|}}} | {{#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:{{{race|}}}|<tr><th class="infobox-label">Race</ | {{#if:{{{race|}}}|<tr><th class="infobox-label">Race</th><td>{{{race}}}</td></tr>}} | ||
{{#if:{{{culture|}}}|<tr><th class="infobox-label">Culture</ | {{#if:{{{culture|}}}|<tr><th class="infobox-label">Culture</th><td>{{{culture}}}</td></tr>}} | ||
{{#if:{{{gender|}}}|<tr><th class="infobox-label">Gender</ | {{#if:{{{gender|}}}|<tr><th class="infobox-label">Gender</th><td>{{{gender}}}</td></tr>}} | ||
{{#if:{{{hairColor|}}}|<tr><th class="infobox-label">Hair Color</ | {{#if:{{{hairColor|}}}|<tr><th class="infobox-label">Hair Color</th><td>{{{hairColor}}}</td></tr>}} | ||
{{#if:{{{eyeColor|}}}|<tr><th class="infobox-label">Eye Color</ | {{#if:{{{eyeColor|}}}|<tr><th class="infobox-label">Eye Color</th><td>{{{eyeColor}}}</td></tr>}} | ||
{{#if:{{{appearanceOther|}}}|<tr><th class="infobox-label">Other</ | {{#if:{{{appearanceOther|}}}|<tr><th class="infobox-label">Other</th><td>{{{appearanceOther}}}</td></tr>}} | ||
}} | }} | ||
{{#if:{{{dynasty|}}}{{{house|}}}{{{spouses|}}}{{{children|}}}{{{father|}}}{{{mother|}}} | {{#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</ | {{#if:{{{dynasty|}}}|<tr><th class="infobox-label">Dynasty</th><td>{{{dynasty}}}</td></tr>}} | ||
{{#if:{{{house|}}}|<tr><th class="infobox-label">House</ | {{#if:{{{house|}}}|<tr><th class="infobox-label">House</th><td>{{{house}}}</td></tr>}} | ||
{{#if:{{{spouses|}}}|<tr><th class="infobox-label">Spouse(s)</ | {{#if:{{{spouses|}}}|<tr><th class="infobox-label">Spouse(s)</th><td>{{{spouses}}}</td></tr>}} | ||
{{#if:{{{children|}}}|<tr><th class="infobox-label">Children</ | {{#if:{{{children|}}}|<tr><th class="infobox-label">Children</th><td>{{{children}}}</td></tr>}} | ||
{{#if:{{{father|}}}|<tr><th class="infobox-label">Father</ | {{#if:{{{father|}}}|<tr><th class="infobox-label">Father</th><td>{{{father}}}</td></tr>}} | ||
{{#if:{{{mother|}}}|<tr><th class="infobox-label">Mother</ | {{#if:{{{mother|}}}|<tr><th class="infobox-label">Mother</th><td>{{{mother}}}</td></tr>}} | ||
}} | }} | ||
</table> | </table> | ||
| Line 57: | Line 57: | ||
}} | }} | ||
Use this template at the top of a page to insert a character infobox. | Use this template at the top of a page to insert a character infobox. | ||
TemplateStyles CSS: [[Template:{{PAGENAME}}/styles.css]] | |||
== Copy/Paste This == | == Copy/Paste This == | ||
Latest revision as of 18:38, 5 January 2026
| Name | |
|---|---|
| General | |
| Titles(s) | King/Queen/etc. |
| Born | Date of birth |
| Died | Date of death |
| Appearance | |
| Race | Race |
| Culture | Culture |
| Gender | Gender |
| Hair Color | Hair Color |
| Eye Color | Eye Color |
| Other | Other information about the appearance |
| Family | |
| Dynasty | Dynasty |
| House | House |
| Spouse(s) | Spouse(s) |
| Children | Children |
| Father | Father |
| Mother | Mother |
Use this template at the top of a page to insert a character infobox.
TemplateStyles CSS: Template:InfoboxCharacter/styles.css
Copy/Paste This
{{InfoboxCharacter
| name =
| image = Filename.png
| caption =
| titles =
| born =
| died =
| race =
| culture =
| gender =
| hairColor =
| eyeColor =
| appearanceOther =
| dynasty =
| house =
| spouses =
| children =
| father =
| mother =
}}