Template:ValidateCardType: Difference between revisions
Jump to navigation
Jump to search
(add support for familiar, sort alphabetically) |
(add servant as valid card type) |
||
Line 10: | Line 10: | ||
|plotcard | |plotcard | ||
|plot card=Plot Card | |plot card=Plot Card | ||
|servant=Servant | |||
|skill=Skill | |skill=Skill | ||
|#default= | |#default= | ||
}}</onlyinclude><noinclude>{{documentation}}</noinclude> | }}</onlyinclude><noinclude>{{documentation}}</noinclude> |
Revision as of 20:17, 10 September 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 | 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 |
search searchcard search card |
|
skill | Skill |
tainted | |
Default (empty) |
Visit Template:ValidateCardType/doc to edit this text! (How does this work?)