Template:Recipe dpl/doc

This template is used to format data for pages that use DPL searches around the recipe template.

When called by a DPL query, this template will create a phantom template in the context of the page queried. The formatting makes it possible to pull certain data from the recipe table of a page and format it in another table, such as a report.

This will only work if the page queried contains the recipe template.

For more information see this page: http://semeb.com/dpldemo/index.php?title=Include#include

Basic usage
The query below will search all pages in the weapons category for the recipe template. If an article in the weapons category contains the recipe template, it will pull each item and item count from the recipe box and place it in the appropriate cell of a table (see output below). This is mainly useful for DPL queries or other instances where a smaller representation of the recipe is desired.

Example



 * Produces: