Template:ValidateCardType/doc: Difference between revisions
Jump to navigation
Jump to search
(document servant as valid cardtype) |
(Document support for tainted cards) |
||
Line 22: | Line 22: | ||
|- | |- | ||
|skill || {{ValidateCardType|skill}} | |skill || {{ValidateCardType|skill}} | ||
|- | |||
|tainted || {{ValidateCardType|tainted}} | |||
|- | |- | ||
|Default (empty) || {{ValidateCardType}} | |Default (empty) || {{ValidateCardType}} | ||
|} | |} |
Revision as of 14:59, 12 October 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 |
---|---|
familiar | Familiar |
herorelic hero relic |
Hero Relic |
item | Item |
overlordcard overlord card |
Overlord Card |
overlordrelic overlord relic |
Overlord Relic |
plotcard plot card |
Plot Card |
servant | Servant |
skill | Skill |
tainted | Tainted |
Default (empty) |