Template:ValidateCardType: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Add Overlord relic as its own card type. (It's not really an item, is it?)
(Add "Hero Relic" as valid card type)
Line 2: Line 2:
|skill=Skill
|skill=Skill
|item=Item
|item=Item
|herorelic
|hero relic=Hero Relic
|overlordrelic
|overlordrelic
|overlord relic=Overlord Relic
|overlord relic=Overlord Relic

Revision as of 12:20, 19 May 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
Hero Relic
item Item
overlordcard
overlord card
Overlord Card
overlordrelic
overlord relic
Overlord Relic
plotcard
plot card
Plot Card
servant
search
searchcard
search card
skill Skill
tainted
Default (empty)