Template:CoinImage

From RuneRealm Wiki
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:CoinImage/doc. [edit] [history] [purge]

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

Usage

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 will be used.

Negative numbers will be converted to positive values.

Examples

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