Template:ValidateCardType/doc: Difference between revisions
Jump to navigation
Jump to search
(Document Overlord relic as its own card type.) |
(document newly supported cardtype "search card") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
{| class="wikitable" | {| class="wikitable" | ||
!Input | !Input !! Returns | ||
|- | |- | ||
| | |familiar || {{ValidateCardType|familiar}} | ||
|- | |- | ||
| | |herorelic<br>hero relic || {{ValidateCardType|hero relic}} | ||
|- | |- | ||
| | |item || {{ValidateCardType|item}} | ||
|- | |- | ||
|overlord card | |overlordcard<br>overlord card || {{ValidateCardType|overlord card}} | ||
|- | |- | ||
| | |overlordrelic<br>overlord relic || {{ValidateCardType|overlord relic}} | ||
|- | |- | ||
|Default (empty) || {{ValidateCardType}} | |plotcard<br>plot card || {{ValidateCardType|plot card}} | ||
|- | |||
|servant || {{ValidateCardType|servant}} | |||
|- | |||
|search<br>searchcard<br>search card || {{ValidateCardType|search card}} | |||
|- | |||
|skill || {{ValidateCardType|skill}} | |||
|- | |||
|tainted || {{ValidateCardType|tainted}} | |||
|- | |||
|Default (empty) || {{ValidateCardType}} | |||
|} | |} |
Latest revision as of 16:50, 1 November 2017
- 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 |
Search Card |
skill | Skill |
tainted | Tainted |
Default (empty) |