Template:ValidateOverlordClass/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Document new entries. Sort all entries alphabetically)
(Add examples back.)
Line 31: Line 31:
||Default (empty)                              || {{ValidateOverlordClass}}
||Default (empty)                              || {{ValidateOverlordClass}}
|}
|}
;Examples
:<nowiki>{{ValidateOverlordClass|MAGUS}}</nowiki> => Magus
:<nowiki>{{ValidateOverlordClass|Basic2}}</nowiki> => Basic II

Revision as of 20:33, 10 July 2016

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