Template:Numulite

From Old School RuneScape Wiki
Jump to: navigation, search

Numulite 1.png 0

Template documentation
This documentation is transcluded from Template:Numulite/doc. [edit] [purge]
Template:Numulite invokes function amount in Module:Numulite using Lua.

The Numulite template shows the amount of numulite with a preview image. The amount is formatted with a comma (if the value is greater than 1,000), and with the following colors:

  • Red - negative numbers
  • Blue - positive numbers
  • Green - if the number is zero

Usage

{{Numulite|Amount=number of numulite}}

or

{{Numulite|number of numulite}}

Examples

The following are some examples:

{{Numulite|Amount=-3000}}

Produces the following result: Numulite 25.png -3,000

{{Numulite|Amount=245.50}}

Produces the following result: Numulite 25.png 245.5

{{Numulite|Amount=0}}

Produces the following result: Numulite 1.png 0

See also