Template:Coins: Difference between revisions
Jump to navigation
Jump to search
m (whoops) |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| {{#expr: {{{1}}} > 25}} = [[File:Coins_25.png|25px]] | | {{#expr: {{{1}}} > 25}} = [[File:Coins_25.png|25px]] | ||
| {{#expr: {{{1}}} > 4}} = [[File:Coins_5.png|25px]] | | {{#expr: {{{1}}} > 4}} = [[File:Coins_5.png|25px]] | ||
| 4 = [[File:Coins_4.png|25px]] | | {{#expr: {{{1}}} = 4}} = [[File:Coins_4.png|25px]] | ||
| 3 = [[File:Coins_3.png|25px]] | | {{#expr: {{{1}}} = 3}} = [[File:Coins_3.png|25px]] | ||
| 2 = [[File:Coins_2.png|25px]] | | {{#expr: {{{1}}} = 2}} = [[File:Coins_2.png|25px]] | ||
| 1 = [[File:Coins_1.png|25px]] | | {{#expr: {{{1}}} = 1}} = [[File:Coins_1.png|25px]] | ||
| 1 = 0 | | 1 = 0 | ||
}}</includeonly> | }}</includeonly><noinclude> | ||
<pre>{{Coins|<amount>}}</pre> | |||
==Description== | |||
Displays the correct gold coin icon for the amount of coins specified. | |||
== Examples == | |||
* {{Coins|1}} is produced from <code><nowiki>{{Coins|1}}</nowiki></code> | |||
* {{Coins|12}} is produced from <code><nowiki>{{Coins|12}}</nowiki></code> | |||
* {{Coins|123}} is produced from <code><nowiki>{{Coins|123}}</nowiki></code> | |||
* {{Coins|1234}} is produced from <code><nowiki>{{Coins|1234}}</nowiki></code> | |||
* {{Coins|12345}} is produced from <code><nowiki>{{Coins|12345}}</nowiki></code></noinclude> |