Template:ValidateOverlordClass/doc

From Descent-Community Wiki 1.2
Revision as of 20:33, 10 July 2016 by Psymia (talk | contribs) (Add examples back.)
Jump to navigation Jump to search
Description
This template is used to validate the overlord class card. It returns a consistent capitalised version, or an empty string on an invalid overlord class.
Syntax
{{ValidateOverlordClass|<overlordclass>}}
Input Returns
Basic
Basici
Basic i
Basic1
Basic 1
Basic
Basic 2
Basic2
BasicII
Basic II
Basic II
Enchanter Enchanter
Infector Infector
Magus Magus
Punisher Punisher
Saboteur Saboteur
Shadowmancer Shadowmancer
Universal Universal
Unkindness Unkindness
Warlord Warlord
Default (empty)
Examples
{{ValidateOverlordClass|MAGUS}} => Magus
{{ValidateOverlordClass|Basic2}} => Basic II