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

Template:Crafting usage

Template page
Revision as of 14:43, 11 October 2024 by Scyu (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view] [edit] [history] [purge]Documentation
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 es:Plantilla:Uso de fabricación fr:Modèle:Utilisation fabrication it:Template:Utilizzo nella fabbricazione ja:テンプレート:Crafting usage ko:틀:Crafting usage lzh:模板:Crafting usage nl:Sjabloon:Verwerkingsgebruik pt:Predefinição:Uso de fabricação ru:Шаблон:Использование для крафта th:แม่แบบ:Crafting usage uk:Шаблон:Використання для майстрування zh:Template:Crafting usage

[view] [edit] [history] [purge]The above documentation is transcluded from Template:Crafting usage/doc.