From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:CoinImage.
It contains usage information, categories, and other content that is not part of the original template page.

This template fetches the appropriate coin icon (e.g., for a pile of one coin, it will fetch Coins 1.png; for 250 coins, it will fetch Coins 250.png, etc.).


Include the text {{CoinImage|value}}, replacing value with the number of coins required.

If no value is passed (as in {{CoinImage}}) or the value is not a number, the 10000-coin image Coins 10000.png will be used.

Negative numbers will be converted to positive values.


Expression Yields Notes
{{CoinImage|4}} Coins 4.png Standard usage.
{{CoinImage|28}} Coins 25.png Standard usage.
{{CoinImage|189}} Coins 100.png Standard usage.
{{CoinImage|9999}} Coins 1000.png Standard usage.
{{CoinImage|10000}} Coins 10000.png Standard usage.
{{CoinImage|-20}} Coins 5.png Negative values are converted to positive.
{{CoinImage}} Coins 10000.png When no parameters are passed, the 10000-coin image is used.
{{CoinImage|text}} Coins 10000.png When a non-number parameter is passed, the 10000-coin image is used.