Template:ExchangeItem/doc

From Darkan
Jump to navigation Jump to search


Documentation 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.

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.