Template:Crafting usage/doc

This template automatically populates the "As a crafting ingredient" section of pages by retrieving recipes from other pages which use it as an ingredient.

Only pages which are in  (category list) and Category:Blocks or Category:Items are searched for recipes. Only recipes using crafting are used.

The recipes are preprocessed by Template:Crafting DPL before being displayed on the page.

Usage

 * : is used to control which category to look through and which ingredient it is looking for, this defaults to the page name.
 * : how exact the ingredient match should be, the default being an exact match.
 * means the start of the ingredient has to exactly match. E.g: "Redstone" will match "Redstone Torch", "Redstone Block", "Redstone", etc.; but not "Block of Redstone", "Some Redstone thing", etc.
 * means the end of the ingredient has to exactly match. E.g: "Redstone" will match "Block of Redstone", "Redstone", etc.; but not "Redstone Block", "Some Redstone thing", etc.
 * means the ingredient can be found anywhere within the name. E.g: "Redstone" will match "Block of Redstone, "Redstone", "Redstone Block", "Some Redstone thing", etc.; but not "Red stone", "Block of Reddishstone", etc.
 * : look through a different category from the ingredient name, defaults to
 * : a regex string of pages to ignore. Pipe characters either have to be replaced with.
 * : if set, the description column will be shown.
 * : if set, the table will not be ended, allowing additional recipes to be manually added to it, same as with normal crafting usage, the last recipe must have  set. This is really just a stopgap for if the template somehow misses some recipes.
 * : if set, wraps the output in  so it can be viewed.

Since the template technically searches the whole page for crafting usage, it can pick up recipes from anywhere on the page, such as the "As a crafting ingredient" section of pages which haven't be changed to use this template, thus always look through the list of recipes to make sure there are no duplicate or missing recipes before saving. Once every page uses this template, this will happen far less.

In addition to using the ignore argument here,  can be added to crafting recipes which should be ignored by this template.

If not all frames of an animation is used, any value set in the  or   arguments will be removed.

Example
List of recipes that use any type of Wood Planks as an ingredient. If this was the Wood Planks page, the first argument wouldn't be necessary.