User:4madness/DPL/Infobox recipe/template
< User:4madness | DPL | Infobox recipe
Jump to navigation
Jump to search
Template documentation
This documentation is transcluded from User:4madness/DPL/Infobox recipe/template/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/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 | ![]() |
Primary ingredient | Secondary ingredient(s) | ![]() |
![]() |
---|