Template:ValidateCardType/doc: Difference between revisions
Jump to navigation
Jump to search
(document support for familiar, sort alphabetically) |
(document servant as valid cardtype) |
||
Line 18: | Line 18: | ||
|- | |- | ||
|plotcard<br>plot card || {{ValidateCardType|plot card}} | |plotcard<br>plot card || {{ValidateCardType|plot card}} | ||
|- | |||
|servant || {{ValidateCardType|servant}} | |||
|- | |- | ||
|skill || {{ValidateCardType|skill}} | |skill || {{ValidateCardType|skill}} |
Revision as of 20:17, 10 September 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 |
Default (empty) |