Jump to content

Template:MainClass

From AiahWiki
Revision as of 17:41, 26 August 2023 by Elbry (talk | contribs) (Page créée avec « <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 = Fighte... »)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage:

Template:Code
Template:Code

Result:
Wizard
Druid

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

Template:Code → Astarion