Template:Card2cost
From DominionStrategy Wiki
(Difference between revisions)
(Added missing 0 cost cards) |
|||
Line 1: | Line 1: | ||
{{#switch:{{{1|}}} | {{#switch:{{{1|}}} | ||
− | |Abandoned Mine |Advance |Alms |Borrow |Copper |Curse |Haunted Mirror |Magic Lamp |Quest |Ruined Library |Ruined Market |Ruined Village |Ruins |Survivors | + | |Abandoned Mine |Advance |Alms |Borrow |Copper |Curse |Delay |Desperation |Haunted Mirror |Magic Lamp |Quest |
+ | |Ruined Library |Ruined Market |Ruined Village |Ruins |Survivors | ||
= 0 | = 0 | ||
Revision as of 16:44, 5 May 2024
Template documentation [edit]
This template coverts a card name to its cost in text.
For graphical cost, use with {{Cost}}.
Contents |
Usage
{{Card2cost|name}}
Parameters
Required
-
name
- The name of the card. Note that it must be capitalized.
Examples
- {{Card2cost|Woodcutter}} → 3
- {{Card2cost|Spoils}} → 0*
- {{Card2cost|Transmute}} → P
- {{Cost|{{Card2cost|Possession}}}} →