Template:InfoboxCharacter: Difference between revisions
Created page with "<templatestyles src="Template:InfoboxCharacter/styles.css" /> <table class="infobox"> {{#if: {{{born|}}}{{{died|}}}{{{titles|}}} | <tr><td colspan="2" class="infobox-title">{{{name|Character}}}</td></tr> {{#if:{{{image|}}}|<tr> <td colspan="2" class="infobox-image">[[File:{{{image}}}|250px|center|]]</td> </tr>}} {{#if:{{{caption|}}}|<tr> <td colspan="2" class="infobox-caption">{{{caption}}}</td> </tr>}} <tr><th colspan="2" class="infobox-header">General</th></t..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | |||
<templatestyles src="Template:InfoboxCharacter/styles.css" /> | <templatestyles src="Template:InfoboxCharacter/styles.css" /> | ||
<table class="infobox"> | <table class="infobox"> | ||
{{#if: {{{born|}}}{{{died|}}}{{{titles|}}} | {{#if: {{{born|}}}{{{died|}}}{{{titles|}}} | ||
| | | | ||
| Line 85: | Line 84: | ||
</tr>}} | </tr>}} | ||
}} | }} | ||
</table> | |||
</includeonly><noinclude>{{InfoboxCharacter | |||
| name = Name | |||
| image = Portrait of the Character.png | |||
| caption = Image caption | |||
| titles = King/Queen/etc. | |||
| born = Date of birth | |||
| died = Date of death | |||
| race = Race | |||
| culture = Culture | |||
| gender = Gender | |||
| hairColor = Hair Color | |||
| eyeColor = Eye Color | |||
| appearanceOther = Other information about the appearance | |||
| dynasty = Dynasty | |||
| house = House | |||
| spouses = Spouse(s) | |||
| children = Children | |||
| father = Father | |||
| mother = Mother | |||
}}Use this template at the top of a page to insert a character infobox. | |||
</ | == Copy/Paste This == | ||
<pre>{{InfoboxCharacter | |||
| name = | |||
| image = | |||
| caption = | |||
| titles = | |||
| born = | |||
| died = | |||
| race = | |||
| culture = | |||
| gender = | |||
| hairColor = | |||
| eyeColor = | |||
| appearanceOther = | |||
| dynasty = | |||
| house = | |||
| spouses = | |||
| children = | |||
| father = | |||
| mother = | |||
}}</pre></noinclude> | |||