Template:MainClass

From Baldur's Gate 3 Wiki
Revision as of 21:51, 24 July 2023 by Rayo (talk | contribs) (Created page with "<includeonly>{{#switch:{{{1|}}} | Berserker = Barbarian | Wildheart = Barbarian | Wild Magic = Barbarian | College of Lore = Bard | College of Swords = Bard | College of Valor = Bard | Knowledge Domain = Cleric | Life Domain = Cleric | Light Domain = Cleric | Nature Domain = Cleric | Tempest Domain = Cleric | Trickery Domain = Cleric | War Domain = Cleric | Circle of the Land = Druid | Circle of the Moon = Druid | Circle of Spores = Druid | Battle Master = Fighter | Cham...")
(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