Aller au contenu

Modèle:MainClass

De AiahWiki
Version datée du 26 août 2023 à 17:41 par Elbry (discussion | contributions) (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) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)

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

Usage:

Modèle:Code
Modèle:Code

Result:
Wizard
Druid

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

Modèle:Code → Astarion