Template:Card2cost

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
(Added Ruins)
Line 1: Line 1:
 
{{#switch:{{{1|}}}
 
{{#switch:{{{1|}}}
 
|Copper        |Curse          |Abandoned Mine |Ruined Library |Ruined Market
 
|Copper        |Curse          |Abandoned Mine |Ruined Library |Ruined Market
|Ruined Village |Survivors = 0
+
|Ruined Village |Survivors     |Ruins = 0
 
|Poor House    |Hovel          |Necropolis    |Overgrown Estate = 1
 
|Poor House    |Hovel          |Necropolis    |Overgrown Estate = 1
 
|Cellar        |Chapel        |Moat          |Courtyard      |Pawn
 
|Cellar        |Chapel        |Moat          |Courtyard      |Pawn

Revision as of 12:05, 15 November 2012

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}}}} → $6P
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox