Template:GetRecipes
From Eco - English Wiki
Documentation
{{TestRecipes|item=Item Name}} {{TestRecipes|table=Crafting Table}}
This template can be used to grab all recipes that are relevant to a given item or table. It formats the results into wikitables with their own headers.
For Items
- The first table displays every recipe in the game that creates the item as product, and has the header "Crafting Recipes".
- The second table displays all recipes that require the item as an ingredient, and has the header "Used in Recipes".
If an item has no relevant recipes for either table, the template will display "None" instead of a table for that section.
For Tables
A table is created that displays every recipe that is available at the table. It has the header "Recipes at {Table}". If no relevant recipes are found, the template will display "None" instead of a table.
Usage
Parameters
- item
- An item in the game. Use the name as it appears in the game, including spaces.
- table
- A crafting table in the game. This has no effect if 'item' is specified.
Example
{{GetRecipes|item=Iron Axle}}
Crafting Recipes
Crafting Station | Item | Materials | Level Needed | Crafting Time (mins) |
Labour Cost | XP Gained | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lathe | Iron Axle x1 | Iron Bar x2 | Mechanics Level 1 |
2 | 75 | 1 |
Used in Recipes
{{GetRecipes|table=Workbench}}
Recipes at Workbench