Template:Infobox Character: Difference between revisions

From Elemental - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
         style="width:270px; border:1px solid #aaa; background:#f9f9f9; padding:5px; font-size:90%; text-align:left;">
         style="width:270px; border:1px solid #aaa; background:#f9f9f9; padding:5px; font-size:90%; text-align:left;">
         <tr>
         <tr>
             <th colspan="2" style="text-align:center; font-size:125%; background:#ccc; padding:8px;">
             <th colspan="2" style="text-align:center; font-size:125%; background:#000000; color: #b78507;padding:8px;">
                 {{{name|{{PAGENAME}}}}}</th>
                 {{{name|{{PAGENAME}}}}}</th>
         </tr>
         </tr>
Line 10: Line 10:
         </tr>}}
         </tr>}}
         {{#if:{{{title|}}}|<tr>
         {{#if:{{{title|}}}|<tr>
             <th style="width:35%; background:#ddd; padding:4px;">Title</th>
             <th style="width:35%; background:#000000; color: #b78507; padding:4px;">Title</th>
             <td style="padding:4px;">{{{title}}}</td>
             <td style="padding:4px;">{{{title}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{aka|}}}|<tr>
         {{#if:{{{aka|}}}|<tr>
             <th style="background:#ddd; padding:4px;">Also known as</th>
             <th style="background:#000000; color: #b78507; padding:4px;">Also known as</th>
             <td style="padding:4px;">{{{aka}}}</td>
             <td style="padding:4px;">{{{aka}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{race|}}}|<tr>
         {{#if:{{{race|}}}|<tr>
             <th style="background:#ddd; padding:4px;">Race</th>
             <th style="background:#000000; color: #b78507; padding:4px;">Race</th>
             <td style="padding:4px;">{{{race}}}</td>
             <td style="padding:4px;">{{{race}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{faction|}}}|<tr>
         {{#if:{{{faction|}}}|<tr>
             <th style="background:#ddd; padding:4px;">Faction</th>
             <th style="background:#000000; color: #b78507; padding:4px;">Faction</th>
             <td style="padding:4px;">{{{faction}}}</td>
             <td style="padding:4px;">{{{faction}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{kingdom|}}}|<tr>
         {{#if:{{{kingdom|}}}|<tr>
             <th style="background:#ddd; padding:4px;">Kingdom</th>
             <th style="background:#000000; color: #b78507; padding:4px;">Kingdom</th>
             <td style="padding:4px;">{{{kingdom}}}</td>
             <td style="padding:4px;">{{{kingdom}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{active|}}}|<tr>
         {{#if:{{{active|}}}|<tr>
             <th style="background:#ddd; padding:4px;">Active</th>
             <th style="background:#000000; color: #b78507; padding:4px;">Active</th>
             <td style="padding:4px;">{{{active}}}</td>
             <td style="padding:4px;">{{{active}}}</td>
         </tr>}}
         </tr>}}
Line 44: Line 44:
|aka        = The Redeemer
|aka        = The Redeemer
|race        = Human
|race        = Human
|faction     = Men (Kingdom)
|faction    = Altar
|kingdom     = Altar
|active      = Current Age
|active      = Current Age
}}
}}
Line 65: Line 64:
     | <code>race</code> || Race - Human, Quendar, Urxen, Trog, etc.
     | <code>race</code> || Race - Human, Quendar, Urxen, Trog, etc.
     |-
     |-
     | <code>faction</code> || Faction alignment - Men (Kingdom), Men (Empire), Fallen (Kingdom), Fallen (Empire)
     | <code>faction</code> || Faction alignment - Altar, Resoln, Arnor
    |-
    | <code>kingdom</code> || Kingdom or Empire name
     |-
     |-
     | <code>active</code> || Time period - Age of Titans, Age of Heroes, Current Age, etc.
     | <code>active</code> || Time period - Age of Titans, Age of Heroes, Current Age, etc.

Revision as of 18:55, 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.