Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

Grand Exchange Market Watch/Documentation

From the RuneScape Wiki, the wiki for all things RuneScape

Jump to: navigation, search
 



For the article, see Grand Exchange Market Watch

The Grand Exchange Market Watch grew from a need to track trading prices of the Grand Exchange without having to update the prices in the multiple articles for the same item. This article provides the documentation and technical background for editors to understand the workings of the Grand Exchange Market Watch.

Contents

[edit] Introduction

Transclusion (the use of the template functionality of MediaWiki to include the same content in multiple articles without having to edit those articles separately) is used in the Grand Exchange Market Watch for an item's average trading price.

By updating the price in only one article (e.g. Exchange:Ranarr seed), the new price will also appear in:

See Special:Whatlinkshere/Exchange:Ranarr seed for the linkages.

[edit] Example

Updating the price of Ranarr seeds in Grand Exchange Market Watch/Farming will update the changes in the article Ranarr seed automatically since the Ranarr seed Infobox Item parameter 'exchange = gemw' which calls 'Template:GEPrice|Ranarr seed' for the price, which currently is '22,700' coins.

Image Item Price Direction L. Alch. H. Alch. Store   Last updated
Image:Guamseed.PNG Ranarr seed 22,700
7 11 edit history 00:23, 21 July 2008 (UTC)

[edit] GEMW templates used

Other templates:

[edit] Item article templates affected

[edit] Enhancements

[edit] Market Indexes


[edit] Price direction arrows

[edit] History graphs

GEMW history graph for Ranarr seed
GEMW history graph for Ranarr seed

Draft - Talk:Grand_Exchange_Market_Watch#History_Graphs

draft - User_talk:Robert_Horning#Price_History_Charts

[edit] Edit help

Draft - Talk:Grand_Exchange_Market_Watch#Adding_.22edit_help.22_when_manually_editing_exchange_prices

[edit] Applications beyond GEMW

[edit] Technical issues

[edit] Template expansion limit

There is a limit of 2,097,152 bytes allowed for template expansion. When this limit is exceeded, template expansion stops working, the rest of the page just shows errors from incomplete expansions. For example:

  • (#ifexpr: 0 or 0)
  • (Template:GEPrice)

The actual expansion errors are written in the article's "Page Source" (Browser: IE:View-->Source, Firefox: View-->Page Source) as hidden comments '...Template:GEItem ... WARNING: template omitted, pre-expand include size too large'.

Example: problem when adding too many black and white items on Grand_Exchange_Market_Watch/Melee [1].

View 'Page source' on browser and search on 'Pre-expand':

Pre-expand include size: 2096906 bytes
Post-expand include size: 581635 bytes
Template argument size: 276200 bytes
Maximum: 2097152 bytes

[edit] Common errors/Troubleshooting

draft - Talk:Grand_Exchange_Market_Watch#Snakeskin_showing_up_as_Snake_hide_and_Yak-hide_going_to_Exchange:Yak_hide need to simplify...


  • Expression error: Unrecognised punctuation character "," appearing in Direction column - click on 'edit' to edit corresponding Exchange: article and remove comma from Price value.

[edit] See also

Rate this article:
Share this article: