FANDOM


Padlock-red
Template:ExchangeItem has been indefinitely protected.
This page is protected most likely because it is a popular image, template, project page, or an image used in a MediaWiki page. To request a change to it, please ask an administrator.
Documentation icon Template documentation[edit] [purge]
This documentation is transcluded from Template:ExchangeItem/doc.
Template:ExchangeItem invokes Module:Exchange using Lua.

The ExchangeItem template is used in Exchange pages as part of the Grand Exchange Market Watch.

Usage

For an example, see Exchange:Bones.

"View" parameter

The "View" parameter is used to help output various information stored in each Exchange page. The parameter may be used to do the following:

  • View=diff - returns the difference in price between the Last value and the Price value, if they have both been entered.
  • View=value - displays just the value of the item.
  • View=limit - returns just the trade limit.

Examples

  • {{GEDiff|Adamant bar}} returns 0.
  • {{GEValue|Adamant bar}} returns 640.
  • {{GELimit|Adamant bar}} returns 10000.

For alchemy values:

  • Low Level Alchemy: {{#expr:floor({{GEValue|Adamant bar}}*0.4)}} returns 256.
  • High Level Alchemy: {{#expr:floor({{GEValue|Adamant bar}}*0.6)}} returns 384.

See also

Community content is available under CC-BY-SA unless otherwise noted.