Vorlage:Crafting usage/doc
This template uses Lua: |
Invokes the generateCraftingUsage
method of Module:RenderCraftingRecipesTable, which generates a table containing all crafting recipes that use the specified item.
Data for the table is taken from the 'crafting_recipes' cargo table.
TemplateData
Displays recipes that use the given ingredient.
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Ingredient name | 1 item | keine Beschreibung
| Seitenname | vorgeschlagen |
Show unreleased recipes | unreleased | keine Beschreibung
| Wahrheitswert | optional |
Show experimental recipes | experimental | keine Beschreibung
| Wahrheitswert | optional |
Add tooltips | tooltips | keine Beschreibung
| Wahrheitswert | optional |
Show Build Gun recipes | buildings | keine Beschreibung
| Wahrheitswert | optional |
Limit | limit | The maximum number of recipes to show
| Zahlenwert | optional |
Example
{{Crafting usage|Reinforced Iron Plate}}
You can omit item name, in which case {{PAGENAME}}
value will be used automatically: {{Crafting usage}}
(on the Reinforced Iron Plate page).
{{Crafting usage|Reinforced Iron Plate|experimental = true}}
will only display recipes that are available only on the Experimental build of the game.
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.