Template:ValidateCardType/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Template series for Infobox card)
 
(Document Overlord relic as its own card type.)
Line 10: Line 10:
|-
|-
|item            || {{ValidateCardType|Item}}
|item            || {{ValidateCardType|Item}}
|-
|overlord relic  || {{ValidateCardType|Overlord Relic}}
|-
|-
|overlord card  || {{ValidateCardType|Overlord Card}}
|overlord card  || {{ValidateCardType|Overlord Card}}

Revision as of 21:47, 10 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
overlord relic Overlord Relic
overlord card Overlord Card
plot card Plot Card
Default (empty)