Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Crafting usage/doc

Template page
This is the documentation page. It should be transcluded into Template:Crafting usage. See Template:Documentation for more information.
This template uses Module:Crafting usage, a script written in Lua.

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

Only recipes using {{crafting}} are used.

If no relevant recipes are found, the page will be added to Category:Empty crafting usage.

Usage

  • {{{1}}}: is used to control which ingredient it is looking for, this defaults to the page name. Multiple ingredients can be specified here, separated by commas. Any aliases not specified in this list will have their ingredients expanded in the "ingredients" column of the resulting display.
  • {{{continue}}}: if set, the table will not be ended, allowing additional recipes to be manually added to it. As with normal {{crafting}} usage, the last recipe must have {{{foot}}} set. This is really just a stopgap for if the template somehow misses some recipes, or if coupled with {{{ignore}}} used to manually write a recipe, for greater customisability.

Example

{{Crafting usage|Any Stained Glass}}

Lua error in Module:Crafting_usage at line 195: attempt to index field 'smw' (a nil value).

{{Crafting usage|Blue Stained Glass,Green Stained Glass,Pink Stained Glass}}

Lua error in Module:Crafting_usage at line 195: attempt to index field 'smw' (a nil value).


cs:Šablona:Crafting usage/doc es:Plantilla:Uso de fabricación/doc fr:Modèle:Utilisation fabrication/doc it:Template:Utilizzo nella fabbricazione/doc ja:テンプレート:Crafting usage/doc ko:틀:Crafting usage/doc lzh:模板:Crafting usage/doc nl:Sjabloon:Verwerkingsgebruik/doc pt:Predefinição:Uso de fabricação/doc ru:Шаблон:Использование для крафта/док th:แม่แบบ:Crafting usage/doc uk:Шаблон:Використання для майстрування/док zh:Template:Crafting usage/doc