Template:MainClass

Template page

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