Template:ValidateRace/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Change Elve singular to Elf)
(singular of dwarve is dwarf)
 
Line 17: Line 17:
|dragon            || {{ValidateRace|dragon}}
|dragon            || {{ValidateRace|dragon}}
|-
|-
|dwarve            || {{ValidateRace|dwarve}}
|dwarf              || {{ValidateRace|dwarf}}
|-
|-
|elemental          || {{ValidateRace|elemental}}
|elemental          || {{ValidateRace|elemental}}

Latest revision as of 21:20, 4 August 2017

Description
This template is used to validate the race. It returns a consistent capitalised version, or an empty string on an invalid race.
Syntax
{{ValidateRace|<race>}}
Input Returns
arachnid Arachnid
beast Beast
construct Construct
demon Demon
dragon Dragon
dwarf Dwarf
elemental Elemental
elf Elf
fae Fae
giant Giant
gnome Gnome
goblin Goblin
hag Hag
human Human
hybrid Hybrid
imp Imp
insect Insect
katjie Katjie
kobold Kobold
minotaur Minotaur
monstrous humanoid Monstrous Humanoid
orc Orc
orrukasi Orrukasi
rat Rat
reptilian Reptilian
shade Shade
troll Troll
undead Undead
vampire Vampire
Default (empty)