Template:Cost
From DominionStrategy Wiki
(Difference between revisions)
(QdMBGzRvyanRQYMDSRw) |
(Undo revision 9094 by 188.143.232.12 (talk)) |
||
Line 1: | Line 1: | ||
− | + | {{#ifeq:{{{1|}}}|P||{{Coin|{{#switch:{{{1|}}}|0*=0star|8*=8star|?=?|X|x=x|{{#iferror:{{#expr:{{{1|}}}}}|{{#ifeq:{{padleft:|2|{{{1|}}}}}|{{{1|}}}|{{padleft:|1|{{{1|}}}}}|{{padleft:|2|{{{1|}}}}}}}|{{{1|}}}}}}}|{{{2|}}}}}}}{{#switch:{{{1|0}}}|?|X|x=|{{#iferror:{{#expr: {{{1|}}}.0}}|{{P|{{{2|}}}}}|}}}}<noinclude> | |
+ | {{doc}} | ||
+ | </noinclude> |
Revision as of 16:29, 14 January 2013
Template documentation [edit]
This template allows translating text cost into graphical cost
Usage
- {{Cost}} →
- {{Cost|3}} →
- {{Cost|0*}} →
- {{Cost|?}} →
- {{Cost|x}} →
- {{Cost|P}} →
- {{Cost|6P}} →
- {{Cost|||8}} →
- {{Cost|6||8}} →
- {{Cost|6P||8}} →
- {{Cost|5|l}} →
- {{Cost|P|l}} →
- {{Cost||l|8}} →
- {{Cost|6P|l|8}} →
- {{Cost|5|xl}} →