Template:ValidateOverlordClass

From Descent-Community Wiki 1.2
Revision as of 22:07, 11 April 2016 by Psymia (talk | contribs) (Template series for Infobox card)
(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
Punisher Punisher
Saboteur Saboteur
Shadowmancer Shadowmancer
Soulbinder
Universal
Unkindness Unkindness
Warlord Warlord
Default (empty)
Examples
{{ValidateOverlordClass|MAGUS}} => Magus
{{ValidateOverlordClass|Basic2}} => Basic II