Template:Numulite/doc

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