Template:Card2cost

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|Copper        |Curse          |Abandoned Mine |Ruined Library |Ruined Market
 
|Copper        |Curse          |Abandoned Mine |Ruined Library |Ruined Market
 
|Ruined Village |Survivors      |Ruins = 0
 
|Ruined Village |Survivors      |Ruins = 0
|Poor House    |Hovel          |Necropolis    |Overgrown Estate = 1
+
|Poor House    |Hovel          |Necropolis    |Overgrown Estate |Shelters = 1
 
|Cellar        |Chapel        |Moat          |Courtyard      |Pawn
 
|Cellar        |Chapel        |Moat          |Courtyard      |Pawn
 
|Secret Chamber |Embargo        |Haven          |Lighthouse    |Native Village
 
|Secret Chamber |Embargo        |Haven          |Lighthouse    |Native Village
|Pearl Diver    |Herbalist      |Hamlet        | Crossroads   |Duchess
+
|Pearl Diver    |Herbalist      |Hamlet        |Crossroads     |Duchess
 
|Fool's Gold    |Beggar        |Squire        |Vagrant        |Estate
 
|Fool's Gold    |Beggar        |Squire        |Vagrant        |Estate
 
|Candlestick Maker = 2
 
|Candlestick Maker = 2

Revision as of 17:12, 10 January 2017

This template converts a card name to its cost in its graphical or text equivalent.

Contents

Usage

{{Card2cost|name|mode}}

Parameters

Required

name - The name of the card. Note that it must be capitalized.

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.

Examples

  • {{Card2cost|Woodcutter|Text}} → 3
  • {{Card2cost|Spoils}} → $0*
  • {{Card2cost|Transmute|Text}} → P
  • {{Card2cost|Possession}} → $6P
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox