Template:Coins: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
m (testing a theory)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
| {{#expr: {{{1}}} = 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>

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}}