User:4madness/DPL/Infobox recipe/template2

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from User:4madness/DPL/Infobox recipe/template2/doc. [edit] [history] [purge]

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