Template:ExchangeItem

From Darkan
Revision as of 20:34, 13 February 2024 by Jawarrior1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Protected Template:ExchangeItem has been indefinitely protected from editing.
This page is protected most likely because it is a popular image or template, or an image used in a MediaWiki page. To request a change to it, please discuss the issue on the talk page.

[view] [edit] [purge] Template documentation

This documentation is transcluded from Template:ExchangeItem/doc.

The ExchangeItem template is used in Exchange:Item articles as part of the Grand Exchange Market Watch.

Usage

For an example, see Exchange:Bones.

Adding new Exchange:Item articles

To add a new Exchange item, create a new article "Exchange:Item_name" and copy the text below.

{{ExchangeItem
|View={{{View}}}
|Icon= 
|Item=
|ItemId=
|Price=
|Last=
|Date=~~~~~
|LastDate=
|LowAlch=
|HighAlch=
|Value=
|AbsMinPrice=
|AbsMaxPrice=
|Category=
|Limit=
}}<noinclude>
*This template is used in [[Grand Exchange Market Watch]]
</noinclude>

"View" parameter

This template is used to help build "lines" in the various lists of the Grand Exchange Market Watch, and to help update prices on items lists.

The "View" parameter may be used to do the following:

  • View=table - displays a table row that is used for the Market Watch displays.
  • View=price - displays just the price of the item when used elsewhere on this wiki.
  • View=LowAlch - displays just the Low Level Alchemy value of the item used elsewhere in this wiki.
  • View=HighAlch - displays just the High Level Alchemy value of the item used elsewhere in this wiki.
  • View=value - displays just the value of the item used elsewhere in this wiki.
  • View=diff - returns the difference in price between the Last value and the Price value, if they have both been entered.
  • View=itemid - returns the id code used in the official Grand Exchange Database.
  • View=icon - returns the icon of the item, as contained in the GEMW data.
  • View=date - returns the date updated.
  • View=lastdate - returns the previous date updated.
  • View=limit - returns the trade limit.