Template:ValidateOverlordClass

From Descent-Community Wiki 1.2
Revision as of 08:04, 20 July 2016 by Psymia (talk | contribs) (sort alphabetically)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation (for the above template, sometimes hidden or invisible)
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
Overlord Reward Overlord Reward
Punisher Punisher
Saboteur Saboteur
Shadowmancer Shadowmancer
Soulbinder
Universal Universal
Unkindness Unkindness
Warlord Warlord
Default (empty)
Examples
{{ValidateOverlordClass|MAGUS}} => Magus
{{ValidateOverlordClass|Basic2}} => Basic II