Template:Card2cost

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
Line 62: Line 62:
 
|Doctor        |Masterpiece = 3+
 
|Doctor        |Masterpiece = 3+
 
|Herald = 4+
 
|Herald = 4+
 +
 +
|City Quarter  |Royal Blacksmith = 8 Debt
 
}}<noinclude>
 
}}<noinclude>
 
{{doc}}
 
{{doc}}
 
</noinclude>
 
</noinclude>

Revision as of 00:30, 10 May 2016

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