- This wiki is very much under construction. The original wiki was set to be shut down and the wiki was largely mirrored to a Fandom-based version, though most of the reference images had not yet been copied over. This migration was put on hold when it appeared the original wiki could in fact be retained, however the old wiki was lost in its entirety when the server was among the many taken down by a massive series of cyberattacks on data centers during early February, 2023. It is now being rebuilt with the launch of Hel. Sorry if it's a little messy right now!
Mascot Ariel Kid.png

Template:Race and File:Portrait Akumu'keshi Dutan'vir.png: Difference between pages

From Drowtales
(Difference between pages)
Jump to navigation Jump to search
mNo edit summary
 
No edit summary
 
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>

Latest revision as of 11:17, 15 September 2023