Template:ExchangeItem/doc

From RuneRealm Wiki

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:26, 17 October 2024 (Created page with "{{documentation}} The '''ExchangeItem''' template is used in Exchange mw.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 b..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:ExchangeItem.
It contains usage information, categories, and other content that is not part of the original template page.
Template:ExchangeItem invokes function exchangeItem in Module:ExchangeDefault using Lua.

The ExchangeItem template is used in Exchange mw.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 163.
  • {{ItemValue|Mithril bar}} returns 300.
  • {{GELimit|Mithril bar}} returns 1.

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