Template:ValidateCardType/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Document Overlord relic as its own card type.)
(Document "Hero Relic" as valid card type)
Line 10: Line 10:
|-
|-
|item            || {{ValidateCardType|Item}}
|item            || {{ValidateCardType|Item}}
|-
|hero relic      || {{ValidateCardType|Hero Relic}}
|-
|-
|overlord relic  || {{ValidateCardType|Overlord Relic}}
|overlord relic  || {{ValidateCardType|Overlord Relic}}

Revision as of 12:21, 19 May 2016

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
skill Skill
item Item
hero relic Hero Relic
overlord relic Overlord Relic
overlord card Overlord Card
plot card Plot Card
Default (empty)