Template:Profitable High Alchemy

From Darkan
Jump to navigation Jump to search
Image Item Price High Alch Profit Limit Details Last updated

{{#dpl:

category=Profitable Alchemy Items namespace=Exchange format=,,\n, include={ExchangeItem}/HighAlchTable

}}

The profit is based on the Grand Exchange price for a Nature rune, currently Expression error: Unrecognized punctuation character "[". coins (Update).

[view] [edit] [purge] Template documentation

This documentation is transcluded from Template:Profitable High Alchemy/doc.

The Profitable High Alchemy template is used to display a table of profitable high alchemy items as a part of the Grand Exchange Market Watch.

Usage

{{Profitable High Alchemy}}

Implementation

This dynamic table makes use of the DynamicPageList extension (see manual) to the wiki to format the list from the Profitable Alchemy Items category. The Profitable Alchemy Items category is automatically updated when the exchange price for an item is updated.

The filter also only selects pages in the "Exchange" namespace to avoid problems attempting to process articles that might also be manually added to the Profitable Alchemy Items category.

In order to extract pricing and high alchemy values for the items and to format the table, the table makes use of the DynamicPageList includepage with the 'surrogate' template method. By using the 'suffix' of "/HighAlchTable" means that the template for formatting the rows becomes Template:ExchangeItem/HighAlchTable.