Template:ExchangeItem/doc

Usage for Exchange:Item articles
To update a price:
 * 1) move old price in PRICE parameter to LAST parameter,
 * 2) move old date in DATE parameter to LASTDATE parameter,
 * 3) add current price to PRICE,
 * 4) add 5 tildes to DATE which creates current date/time.

If adding new item, then create new article "Exchange:Item_name" and copy the text below.


 * This template is used in Grand Exchange Market Watch

For example see Exchange:Bones

Template Documentation
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. Some experimentation is going to happen here, so be patient as this is getting put together.

Note here especially that the "direction" is going to be replaced with an icon, likely a green and red arrow to indicate how the price of the item is going up or down.

The "View" parameter can 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=update - Helps with preloading a standard set of information used for updating prices. This will including replacing the "Last" field with the current price, and pre-setting the "Date" field with 5 tildas.
 * View=diff - Returns the difference in price between the Last value and the Price value... if they have both been entered.