Jump to content

Template:MainRace

From AiahWiki
Revision as of 17:41, 26 August 2023 by Elbry (talk | contribs) (Page créée avec « <includeonly>{{#switch:{{{1|}}} | Hill Dwarf = Dwarf | Mountain Dwarf = Dwarf | Duergar = Dwarf | High Elf = Elf | Wood Elf = Elf | Seldarine Drow = Drow | Lolth-Sworn Drow = Drow | Asmodeus Tiefling = Tiefling | Mephistopheles Tiefling = Tiefling | Zariel Tiefling = Tiefling | Lightfoot Halfling = Halfling | Strongheart Halfling = Halfling | Wood Half-Elf = Half-Elf | High Half-Elf = Half-Elf | Drow Half-Elf = Half-Elf | Rock Gnome = Gnome | Deep Gnome = Gnome |... »)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the main race based on a subrace. Useful for auto-generation, sometimes. Note that it is sensitive to capitalisation!

Usage:

Template:Code
Template:Code

Result:
Half-Elf
Dwarf

It doesn't do anything if the entered value does not match to a subrace.

Template:Code → Lae'zel