Template:Coins: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{{1 | <includeonly>{{{1}}} {{#switch: 1 | ||
|1 = [[File: | | {{#expr: {{{1}}} > 10000}} = [[File:Coins_10000.png|25px]] | ||
| | | {{#expr: {{{1}}} > 1000}} = [[File:Coins_1000.png|25px]] | ||
| | | {{#expr: {{{1}}} > 250}} = [[File:Coins_250.png|25px]] | ||
|4 = [[File:Coins_4.png]] | | {{#expr: {{{1}}} > 100}} = [[File:Coins_100.png|25px]] | ||
|{{#expr: {{{1|}}} | | {{#expr: {{{1}}} > 25}} = [[File:Coins_25.png|25px]] | ||
}} | | {{#expr: {{{1}}} > 4}} = [[File:Coins_5.png|25px]] | ||
| {{#expr: {{{1}}} = 4}} = [[File:Coins_4.png|25px]] | |||
| {{#expr: {{{1}}} = 3}} = [[File:Coins_3.png|25px]] | |||
| {{#expr: {{{1}}} = 2}} = [[File:Coins_2.png|25px]] | |||
| {{#expr: {{{1}}} = 1}} = [[File:Coins_1.png|25px]] | |||
| 1 = 0 | |||
}}</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> |