Template:ExchangeItem

From Old School RuneScape Wiki
Jump to: navigation, search
Padlock-red.svg
Template:ExchangeItem has been indefinitely protected from editing.
This page is protected most likely because it is a popular image or template, or a file used in a MediaWiki page. To request a change to it, please discuss the issue on the talk page.
Template documentation
This documentation is transcluded from Template:ExchangeItem/doc. [edit] [history] [purge]
Template:ExchangeItem invokes function exchangeItem in Module:ExchangeDefault 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|Mithril bar}} returns -6.
  • {{ItemValue|Mithril bar}} returns 300.
  • {{GELimit|Mithril bar}} returns 10000.

For alchemy values:

  • Low Level Alchemy: {{#expr:floor({{ItemValue|Mithril bar}}*0.4)}} returns 120.
  • High Level Alchemy: {{#expr:floor({{ItemValue|Mithril bar}}*0.6)}} returns 180.

See also