Template:ValidateCardType/doc

From Descent-Community Wiki 1.2
Revision as of 02:53, 17 August 2016 by Psymia (talk | contribs) (document support for familiar, sort alphabetically)
Jump to navigation Jump to search
Description
This template is used to validate the card type. It returns a consistent capitalised version, or an empty string on an invalid card type.
Syntax
{{ValidateCardType|<type>}}
Input Returns
familiar Familiar
herorelic
hero relic
Hero Relic
item Item
overlordcard
overlord card
Overlord Card
overlordrelic
overlord relic
Overlord Relic
plotcard
plot card
Plot Card
skill Skill
Default (empty)