Template:MainClass: Difference between revisions
Appearance
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... » |
m 1 revision imported |
(No difference)
| |
Latest revision as of 21:05, 8 November 2026
Returns the main class based on a subclass. Useful for auto-generation, sometimes. Note that it is sensitive to capitalisation!
Usage:
Result:
Wizard
Druid
It doesn't do anything if the entered value does not match to a subclass.
Template:Code → Astarion