Template:Infobox Character: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><table class="infobox" style="width:270px; border:1px solid #aaa; background:#f9f9f9; padding:5px; font-size:90%; text-align:left;"> <tr> <th colspan="2" style="text-align:center; font-size:125%; background:#ccc; padding:8px;">{{{title1|{{PAGENAME}}}}}</th> </tr> {{#if:{{{image1|}}}|<tr> <td colspan="2" style="text-align:center; padding:8px;">{{{image1}}}</td> </tr>}} {{#if:{{{weapon|}}}|<tr> <th style="width:35%; background:#ddd; padding:4px;">Weapon</th> <...") |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><table class="infobox" style="width:270px; border:1px solid #aaa; background:#f9f9f9; padding:5px | <includeonly> | ||
<tr> | <table class="infobox" | ||
<th colspan="2" style="text-align:center; font-size: | style="width:270px; border:1px solid #aaa; background:#f9f9f9; padding:5px; text-align:left; clear: right; float: right;"> | ||
</tr> | <tr> | ||
{{#if:{{{ | <th colspan="2" style="text-align:center; font-family: Georgia, serif; font-variant: small-caps;font-size:195%; background:#000000; color: #b78507;padding:8px;"> | ||
<td colspan="2" style="text-align:center; padding:8px;">{{{ | {{{name|{{PAGENAME}}}}}</th> | ||
</tr>}} | </tr> | ||
{{#if:{{{ | {{#if:{{{image|}}}|<tr> | ||
<th style="width:35%; background:# | <td colspan="2" style="text-align:center; padding:8px;">{{{image}}}</td> | ||
<td style="padding:4px;">{{{ | </tr>}} | ||
</tr>}} | {{#if:{{{title|}}}|<tr> | ||
{{#if:{{{ | <th style="width:35%; background:#000000; color: #b78507;font-family: Georgia, serif; font-variant: small-caps; padding:4px;">Title</th> | ||
<th style="background:# | <td style="padding:4px;">{{{title}}}</td> | ||
<td style="padding:4px;">{{{ | </tr>}} | ||
</tr>}} | {{#if:{{{aka|}}}|<tr> | ||
{{#if:{{{ | <th style="background:#000000; color: #b78507;font-family: Georgia, serif; font-variant: small-caps; padding:4px;">Also known as</th> | ||
<th style="background:# | <td style="padding:4px;">{{{aka}}}</td> | ||
<td style="padding:4px;">{{{ | </tr>}} | ||
</tr>}} | {{#if:{{{race|}}}|<tr> | ||
{{#if:{{{ | <th style="background:#000000; color: #b78507;font-family: Georgia, serif; font-variant: small-caps; padding:4px;">Race</th> | ||
<th style="background:# | <td style="padding:4px;">{{{race}}}</td> | ||
<td style="padding:4px | </tr>}} | ||
</tr>}} | {{#if:{{{faction|}}}|<tr> | ||
{{#if:{{{ | <th style="background:#000000; color: #b78507;font-family: Georgia, serif; font-variant: small-caps; padding:4px;">Faction</th> | ||
<th style="background:# | <td style="padding:4px;">{{{faction}}}</td> | ||
</tr>}} | |||
{{#if:{{{kingdom|}}}|<tr> | |||
<th style="background:#000000; color: #b78507;font-family: Georgia, serif; font-variant: small-caps; padding:4px;">Kingdom</th> | |||
<td style="padding:4px;">{{{kingdom}}}</td> | |||
<td style="padding:4px;">{{{ | </tr>}} | ||
</tr>}} | {{#if:{{{active|}}}|<tr> | ||
{{#if:{{{ | <th style="background:#000000; color: #b78507;font-family: Georgia, serif; font-variant: small-caps; padding:4px;">Active</th> | ||
<th style="background:# | <td style="padding:4px;">{{{active}}}</td> | ||
<td style="padding:4px;">{{{ | </tr>}} | ||
</tr>}} | </table> | ||
</table></includeonly><noinclude> | </includeonly> | ||
== Usage == | <noinclude> | ||
<pre> | == Usage == | ||
{{Infobox | <pre> | ||
| | {{Infobox Character | ||
| | |name = Character Name | ||
| | |image = [[File:Example.png|250px]] | ||
|title = Sovereign of Altar, The Wanderer | |||
| | |aka = The Redeemer | ||
| | |race = Human | ||
| | |faction = Altar | ||
| | |active = Current Age | ||
}} | }} | ||
</pre> | </pre> | ||
== Parameters == | == Parameters == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |- | ||
| <code> | | <code>name</code> || Character name (defaults to page name if omitted) | ||
|- | |- | ||
| <code> | | <code>image</code> || Character portrait (use <code><nowiki>[[File:Name.png|250px]]</nowiki></code>) | ||
|- | |- | ||
| <code> | | <code>title</code> || Official title(s) - e.g., "Sovereign of Altar" | ||
|- | |- | ||
| <code> | | <code>aka</code> || Aliases or epithets - e.g., "The Wanderer" | ||
|- | |- | ||
| <code> | | <code>race</code> || Race - Human, Quendar, Urxen, Trog, etc. | ||
|- | |- | ||
| <code> | | <code>faction</code> || Faction alignment - Altar, Resoln, Arnor | ||
|- | |||
| <code>active</code> || Time period - Age of Titans, Age of Heroes, Current Age, etc. | |||
|- | |} | ||
| <code> | |||
|} | |||
All parameters are optional. Empty parameters won't display. | All parameters are optional. Empty parameters won't display. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 22:18, 4 February 2026
== Usage ==
{{Infobox Character
|name = Character Name
|image = [[File:Example.png|250px]]
|title = Sovereign of Altar, The Wanderer
|aka = The Redeemer
|race = Human
|faction = Altar
|active = Current Age
}}
== Parameters ==
| Parameter | Description |
|---|---|
name |
Character name (defaults to page name if omitted) |
image |
Character portrait (use [[File:Name.png|250px]])
|
title |
Official title(s) - e.g., "Sovereign of Altar" |
aka |
Aliases or epithets - e.g., "The Wanderer" |
race |
Race - Human, Quendar, Urxen, Trog, etc. |
faction |
Faction alignment - Altar, Resoln, Arnor |
active |
Time period - Age of Titans, Age of Heroes, Current Age, etc. |
All parameters are optional. Empty parameters won't display.