Jump to content

Template:MainClass

From AiahWiki
Revision as of 21:05, 8 November 2026 by Elbry (talk | contribs) (1 revision imported)
(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