Template:MainClass

From bg3.wiki
Revision as of 18:05, 5 September 2023 by Taylan (talk | contribs) (Valor -> Valour)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Usage:

{{MainClass|Illusion}}
{{MainClass|Circle of Spores}}

Result:
Wizard
Druid

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

{{MainClass|Astarion}} → Astarion