Template:Coins: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
(Coins_1.png was too big when 25px)
Tag: Reverted
mNo edit summary
 
(5 intermediate revisions by 2 users 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|24px]]
| {{#expr: {{{1}}} = 1}} = [[File:Coins_1.png|25px]]
}}</includeonly>
| 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>

Latest revision as of 02:43, 6 February 2023

{{Coins|<amount>}}

Description

Displays the correct gold coin icon for the amount of coins specified.

Examples

  • 1 Coins 1.png is produced from {{Coins|1}}
  • 12 Coins 5.png is produced from {{Coins|12}}
  • 123 Coins 100.png is produced from {{Coins|123}}
  • 1234 Coins 1000.png is produced from {{Coins|1234}}
  • 12345 Coins 10000.png is produced from {{Coins|12345}}