|
|
Line 1: |
Line 1: |
| <includeOnly>
| |
| [[Category:Races]]
| |
| {{#if: {{{section|}}}
| |
| | [[Category:{{{section}}} Races]]
| |
| |}}
| |
| {{#switch: {{{aura}}}
| |
| | yes = [[Category:Fae Races]]
| |
| | no = [[Category:Non-Fae Races]]
| |
| | #default = [[Category:Unknown]]
| |
| }}
| |
| {{#if: {{{subrace_of|}}}
| |
| | [[Category:{{{subrace_of}}} Races]]
| |
| |}}
| |
| </includeOnly>
| |
| <infobox layout="stacked">
| |
| <title source="name"><default>{{PAGENAME}}</default></title>
| |
| <data source="subrace_of"><format><div align="center">Sub-Race of [[{{{subrace_of}}}]]</div></format></data>
| |
| <image source="image"><default>[[File:Orthorbbae Default Image.png|200px|link=File:Exemplar_{{PAGENAME}}.png|(Portrait missing, click to upload)]]</default><caption source="imagecaption" /></image>
| |
| <header><div align="center"></div></header>
| |
| <group row-items="2">
| |
| <header><div align="center">Sub-Races</div></header>
| |
| <data source="subraces"></data>
| |
| </group>
| |
| <group row-items="3">
| |
| <header><div align="center">Regions</div></header>
| |
| <data source="regions"></data>
| |
| </group>
| |
| </infobox>
| |
| <noinclude>
| |
| Usage example:
| |
| <nowiki>
| |
| {{Race
| |
| | name =
| |
| | section =
| |
| | image =
| |
| | imagecaption =
| |
| | aura =
| |
| | subrace_of =
| |
| | subraces =
| |
| | regions =
| |
| }}
| |
| </nowiki>
| |
| <br>
| |
| [[Category:Page Types]]
| |
| A template for use on Race 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 sub-setting of the comic/s to which the race belongs, such as ''Helian'' or ''Underworld''.
| |
| * image - An image showing an example of the race. This should have a 1:1 aspect ratio and will be sized to 200 x 200 pixels. <nowiki><gallery></gallery></nowiki> around multiple images will allow a gallery mode.
| |
| '''Please use the format of Exemplar_''RACENAME''.png for the primary reference image.'''
| |
| * imagecaption - Sets a caption for the image used.
| |
| * aura - Yes/No field that determines if it will be placed into the category of fae or non-fae races.
| |
| * regions - Locations in which the members of the race resides.
| |
|
| |
| Optional arguments:
| |
| * subrace of - If the race is a sub-grouping of another race, such as [[Vel'akar]] & [[Ver'aku]] being sub-types of [[Demon]].
| |
| * subraces - A place to link to sub-race pages, similar to the above.
| |
|
| |
| </noinclude>
| |