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

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to navigation Jump to search
Information icon-grey.svg
This is a documentation subpage for User:4madness/DPL/Infobox recipe/template.
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/template} to the include line of a DPL query.

Example

Using the following code:

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

produces the following result:

Potion Level Herblore XP Primary ingredient Secondary ingredient(s) P2P icon.png Quests