Template:ValidateCardType: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Template series for Infobox card)
(No difference)

Revision as of 22:04, 11 April 2016

Template documentation (for the above template, sometimes hidden or invisible)
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
herorelic
hero relic
item Item
overlordcard
overlord card
Overlord Card
overlordrelic
overlord relic
plotcard
plot card
Plot Card
servant
search
searchcard
search card
skill Skill
tainted
Default (empty)