Difference between revisions of "Template:BAM card/prices"
(The resell stuff has been moved to Template:BAM card/resell. Adjusted the alt text to give "Coins:", rather than "Coin:".) |
(If 1 is empty, default the currency to coins. Spaced things out a bit.) |
||
Line 1: | Line 1: | ||
<!-- 1 = currency, 2 = cost | <!-- 1 = currency, 2 = cost | ||
− | -->{{BAM-Icon|{{ | + | -->{{ #vardefine: $currency | {{ #if: {{{1|}}} | {{{1}}} | Coin }}<!-- |
+ | |||
+ | -->{{BAM-Icon | ||
+ | | {{ #var: $currency }} | ||
+ | |alt={{ #ifeq: {{ #var: $currency }} | Coin | ||
+ | | Coins: | ||
+ | | {{ #var: $currency }} | ||
+ | }} | ||
+ | }} {{{2}}} [[Cost::{{ #var: $currency }} {{{2}}}| ]] |
Revision as of 16:43, 27 September 2013
{{ #vardefine: $currency | Coin[[File:BAM- .svg|link=File:BAM- .svg ||alt=|x25px]] {{{2}}}