Template:Cost/doc

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "This template allows translating text cost into graphical cost ==Usage== <pre>{{Cost|$}}</pre> ==Parameters== If no parameter is provided, it defaults to zero. ===Required=...")
 
Line 13: Line 13:
 
* <tt><nowiki>{{Cost|5}}</nowiki> →  {{Cost|5}}</tt>
 
* <tt><nowiki>{{Cost|5}}</nowiki> →  {{Cost|5}}</tt>
 
* <tt><nowiki>{{Cost|0*}}</nowiki> →  {{Cost|0*}}</tt>
 
* <tt><nowiki>{{Cost|0*}}</nowiki> →  {{Cost|0*}}</tt>
 +
* <tt><nowiki>{{Cost|?}}</nowiki> →  {{Cost|?}}</tt>
 +
* <tt><nowiki>{{Cost|x}}</nowiki> →  {{Cost|x}}</tt>
 
* <tt><nowiki>{{Cost|P}}</nowiki> →  {{Cost|P}}</tt>
 
* <tt><nowiki>{{Cost|P}}</nowiki> →  {{Cost|P}}</tt>
 
* <tt><nowiki>{{Cost|6P}}</nowiki> →  {{Cost|6P}}</tt>
 
* <tt><nowiki>{{Cost|6P}}</nowiki> →  {{Cost|6P}}</tt>

Revision as of 04:48, 8 November 2012

This template allows translating text cost into graphical cost

Contents

Usage

{{Cost|$}}

Parameters

If no parameter is provided, it defaults to zero.

Required

$ - The text cost

Examples

  • {{Cost|5}} → $5
  • {{Cost|0*}} → $0star
  • {{Cost|?}} → $?
  • {{Cost|x}} → $x
  • {{Cost|P}} → P
  • {{Cost|6P}} → $6P
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox