Jump to content

Template:MainRace

From AiahWiki
Revision as of 21:05, 8 November 2026 by Elbry (talk | contribs) (1 revision imported)
(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