Template:MainRace

From bg3.wiki
Revision as of 21:06, 24 July 2023 by Rayo (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Usage:

{{MainRace|Drow Half-Elf}}
{{MainRace|Duergar}}

Result:
Half-Elf
Dwarf

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

{{MainRace|Lae'zel}} → Lae'zel