|
|
Line 1: |
Line 1: |
| <includeOnly>
| |
| [[Category:{{{section|}}} Characters]]
| |
| {{#if: {{#pos:{{{section|}}}|Moonless Age Cameo}}
| |
| | [[Category:Moonless Age Characters]]
| |
| }}
| |
| {{PageType|Characters}}
| |
| {{#if: {{#pos:{{{status|}}}|Deceased}}
| |
| | [[Category:Memorial for the Dead]]
| |
| }}
| |
|
| |
|
| {{#if: {{{race|}}}
| |
| | [[Category:{{{race}}} Characters]]
| |
| |}}
| |
|
| |
| {{#if: {{{gender|}}}
| |
| | [[Category:{{{gender}}} Characters]]
| |
| |}}
| |
|
| |
| {{#if: {{{faction|}}}
| |
| | [[Category:{{{faction}}} Characters]]
| |
| {{#vardefine:faction|{{{faction}}} }}
| |
| |}}
| |
| </includeOnly>
| |
| <infobox layout="stacked">
| |
| <title source="name"><default>{{PAGENAME}}</default></title>
| |
| <image source="image"><default>[[File:Portrait_Default.png]]</default></image>
| |
| <data source="section"><format><div align="center">{{{section|}}} Character</div></format></data>
| |
| <data source="sponsor"><format><div align="center">Sponsored by: {{{sponsor|}}}</div></format></data>
| |
| <data source="race"><format><div align="center">[[{{{race}}}]]</div></format></data>
| |
| <group row-items="2">
| |
| <header>{{{status}}}</header>
| |
| <data source="talents"><label>Talents</label></data>
| |
| <data source="trivia"><label>Trivia</label></data>
| |
| </group>
| |
| <group collapse="closed">
| |
| <header>Family</header>
| |
| <data source="family" />
| |
| </group>
| |
| </infobox>
| |
| <noinclude>
| |
| Usage example:
| |
| <nowiki>
| |
| {{Character
| |
| | name =
| |
| | section =
| |
| | image =
| |
| | faction =
| |
| | status =
| |
| | race =
| |
| | gender =
| |
| | sponsor =
| |
| | talents =
| |
| | trivia =
| |
| | family =
| |
| }}
| |
| </nowiki>
| |
| <br>
| |
| [[Category:Page Types]]
| |
| A template for use on Character Pages. It creates the infobox seen on the right of each page.
| |
|
| |
| Essential arguments:
| |
| * name - This should generally be left blank to default to the page name.
| |
| * section - The section of the comic to which the character belongs, such as ''Moonless Age'' or ''Moonless Age Cameo''.
| |
| * image - An image portrait for the character. Should be 89x111 pixels. <nowiki><gallery></gallery></nowiki> around multiple images will allow a gallery mode.
| |
| '''Please use the format of Portrait_CharacterName.png for the primary portrait.''' In addition to standardizing with the legacy portraits from the old wiki, it is needed for the [[Template:CharacterCard]] to work properly creating character thumbnails on clan/chapter pages.
| |
|
| |
| Optional arguments:
| |
| * sponsor - If a cameo, the name of the sponsor.
| |
| * race - Race (Drowolath, Drowussu, Emberi, Halme ...)
| |
| * faction - Major clan or faction, important for generating the first faction Navbox.
| |
| * status - The current status of the character, such as "Merchant", "Sarghress Scout", or "Deceased".
| |
| * talents - Notable talents.
| |
| * family - Related characters.
| |
| * trivia - Minor bits of trivia.
| |
|
| |
| </noinclude>
| |