Template:GEInfo/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:GEInfo.
It contains usage information, categories, and other content that is not part of the original template page.
Template:GEInfo invokes function view in Module:Exchange using Lua.
Template:GEInfo invokes Module:Exchange using Lua.

This template is able to display any stored information about an item tradeable in the Grand Exchange. Any returned data will be presented the way it is stored. In other words, any numbers will not be formatted with commas (use formatnum for that).

Usage

The first parameter for this template specifies the item to look up, and the second parameter specifies the information to fetch for the item. For example:

{{GEInfo|Cake|examine}} -> A plain sponge cake.

Possible properties that can be looked up are (with examples being shown for the item Cake):

  • itemId (1891)
  • price ()
  • last ()
  • date ()
  • lastDate ()
  • volume (16765)
  • volumeDate ()
  • icon (Cake.png)
  • item (Cake)
  • value (50)
  • limit (6000)
  • members (0)
  • examine (A plain sponge cake.)
  • hialch (30)
  • lowalch (20)

See also