Template:Card2cost
From DominionStrategy Wiki
(Difference between revisions)
(Removing the newline) |
(Fixed Dominate's cost.) |
||
Line 74: | Line 74: | ||
|Dominate | |Dominate | ||
− | = {{#switch:{{{2|}}}|Text= | + | = {{#switch:{{{2|}}}|Text=14|{{Cost|14}}}} |
|Transmute |Vineyard | |Transmute |Vineyard |
Latest revision as of 15:34, 13 June 2024
Template documentation [edit]
This template converts a card name to its cost in its graphical or text equivalent.
Contents |
[edit] Usage
{{Card2cost|name|mode}}
[edit] Parameters
[edit] Required
-
name
- The name of the card. Note that it must be capitalized.
[edit] Optional
-
mode
- The output mode for the cost of the card.-
Graphics
- Output the cost of the card using graphics (default). -
Text
- Output the cost of the card in text.
-
[edit] Examples
- {{Card2cost|Woodcutter|Text}} → 3
- {{Card2cost|Spoils}} →
- {{Card2cost|Transmute|Text}} → P
- {{Card2cost|Possession}} →