User:4madness/DPL/Infobox recipe/template2/doc

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for User:4madness/DPL/Infobox recipe/template2.
It contains usage information, categories, and other content that is not part of the original template page.

A surrogate template used with the DynamicPageList extension to concisely summarise the ingredients and XP of a Herblore potion.

Usage

The template will work with any page that uses {{Infobox recipe}}, but is designed for use with Herblore potions.

To use the template, add {Infobox recipe|User:4madness/DPL/Infobox_recipe/template2} to the include line of a DPL query.

This template is identical to /template, with the exception of another column listing non-herblore XP gained for an action.

Example

Using the following code:

<dpl>
  namespace =
  category = Unfinished potions
  include = {Infobox recipe|User:4madness/DPL/Infobox recipe/template2}
  count = 10
  tablesortcol = 2
  noresultsheader = {{User:4madness/DPL/Infobox recipe/header|allxp=yes|noresults=yes}}
  format = {{User:4madness/DPL/Infobox recipe/header|allxp=yes}},,,|}
</dpl>

produces the following result:

Potion Level Herblore XP Primary ingredient Secondary ingredient(s) P2P icon.png Quests Other XP
Rogue's purse potion (unf).png: RS3 Inventory image of Rogue's purse potion (unf) Rogue's purse potion (unf) 5 1 Vial of water.png: RS3 Inventory image of Vial of water Vial of water Clean rogue's purse.png: RS3 Inventory image of Clean rogue's purse Clean rogue's purse Yes No None
Tarromin potion (unf).png: RS3 Inventory image of Tarromin potion (unf) Tarromin potion (unf) 5 1 Vial of water.png: RS3 Inventory image of Vial of water Vial of water Clean tarromin.png: RS3 Inventory image of Clean tarromin Clean tarromin No No None
Marrentill potion (unf).png: RS3 Inventory image of Marrentill potion (unf) Marrentill potion (unf) 9 1 Vial of water.png: RS3 Inventory image of Vial of water Vial of water Clean marrentill.png: RS3 Inventory image of Clean marrentill Clean marrentill Yes No None
Harralander potion (unf).png: RS3 Inventory image of Harralander potion (unf) Harralander potion (unf) 20 1 Vial of water.png: RS3 Inventory image of Vial of water Vial of water Clean harralander.png: RS3 Inventory image of Clean harralander Clean harralander Yes No None
Mountain irit potion (unf).png: RS3 Inventory image of Mountain irit potion (unf) Mountain irit potion (unf) 43 0 Vial of mountain water.png: RS3 Inventory image of Vial of mountain water Vial of mountain water Clean irit.png: RS3 Inventory image of Clean irit Clean irit Yes No None
Diamond dust potion (unf).png: RS3 Inventory image of Diamond dust potion (unf) Diamond dust potion (unf) 43 0 Mountain irit potion (unf).png: RS3 Inventory image of Mountain irit potion (unf) Mountain irit potion (unf) Enchanted diamond root dust.png: RS3 Inventory image of Enchanted diamond root dust Enchanted diamond root dust Yes Yes None
Avantoe potion (unf).png: RS3 Inventory image of Avantoe potion (unf) Avantoe potion (unf) 48 1 Vial of water.png: RS3 Inventory image of Vial of water Vial of water Clean avantoe.png: RS3 Inventory image of Clean avantoe Clean avantoe Yes No None
Kwuarm potion (unf).png: RS3 Inventory image of Kwuarm potion (unf) Kwuarm potion (unf) 54 1 Vial of water.png: RS3 Inventory image of Vial of water Vial of water Clean kwuarm.png: RS3 Inventory image of Clean kwuarm Clean kwuarm Yes No None
Cadantine potion (unf).png: RS3 Inventory image of Cadantine potion (unf) Cadantine potion (unf) 65 1 Vial of water.png: RS3 Inventory image of Vial of water Vial of water Clean cadantine.png: RS3 Inventory image of Clean cadantine Clean cadantine Yes No None
Torstol potion (unf).png: RS3 Inventory image of Torstol potion (unf) Torstol potion (unf) 75 1 Vial of water.png: RS3 Inventory image of Vial of water Vial of water Clean torstol.png: RS3 Inventory image of Clean torstol Clean torstol Yes No None