Template:MainRace

From bg3.wiki
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