Template:GetRecipes: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
m 1 revision imported
Line 33: Line 33:


==Example==
==Example==
<pre>
{{TestGetRecipes|item=Iron Axle}}
</pre>
{{TestGetRecipes|item=Iron Axle}}
<pre>
<pre>
{{GetRecipes|item=Raw Meat}}
{{GetRecipes|item=Raw Meat}}
Line 38: Line 44:
{{GetRecipes|item=Raw Meat}}
{{GetRecipes|item=Raw Meat}}


<pre>
{{TestGetRecipes|table=Workbench}}
</pre>
{{TestGetRecipes|table=Workbench}}


</noinclude>
</noinclude>

Revision as of 11:59, 4 September 2020


Documentation

{{GetRecipes|item=Item Name}}
{{GetRecipes|table=Crafting Table}}
{{GetRecipes|table=Crafting Table|group=Group}}
{{GetRecipes|group=Group}}

This template can be used to grab all recipes that are relevant to a given item, table, or group. 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.

For Groups

A table is created that displays all recipes where the product belongs to the specified group. It has the header "{Group} Recipes". 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.
group
A group for items in the game. This can be combined with 'table' to narrow down the selected recipes. It has no effect if 'item' is specified.

Example

{{TestGetRecipes|item=Iron Axle}}

Template:TestGetRecipes

{{GetRecipes|item=Raw Meat}}

Crafting Recipes

Crafting Station Item Materials Level Needed Crafting Time
(mins)
Labour Cost XP Gained
Butchery Table Raw Meat x10 Leather Hide x2 Shorn Wool x3 Bison Carcass x1 Butchery
Level 1
2 70 5
Butchery Table Raw Meat x2 Fur Pelt x1 Small Carcass Tag x1 Butchery
Level 1
1 40 3
Butchery Table Raw Meat x1 Fur Pelt x1 Tiny Fur Carcass Tag x1 Butchery
Level 1
0.5 25 2
Butchery Table Raw Meat x5 Leather Hide x1 Shorn Wool x2 Medium Wooly Carcass Tag x1 Butchery
Level 1
1.5 50 4
Butchery Table Raw Meat x1 Fur Pelt x1 Shorn Wool x1 Hare Carcass x1 Butchery
Level 1
0.5 25 1
Butchery Table Raw Meat x5 Leather Hide x1 Medium Leather Carcass Tag x1 Butchery
Level 1
1.5 50 4
Butchery Table Raw Meat x1 Leather Hide x1 Tiny Leather Carcass Tag x1 Butchery
Level 1
0.5 25 1


Used in Recipes

Crafting Station Item Materials Level Needed Crafting Time
(mins)
Labour Cost XP Gained
Bakery Oven Baked Meat x1 Raw Meat x2 Baking
Level 1
2 25 1
Butchery Table Scrap Meat x3 Raw Meat x1 Butchery
Level 1
0.5 15 1
Butchery Table Raw Bacon x1 Scrap Meat x3 Raw Meat x3 Butchery
Level 3
0.8 15 1
Butchery Table Raw Roast x1 Scrap Meat x2 Raw Meat x2 Butchery
Level 3
0.8 15 1
Butchery Table Prepared Meat x1 Scrap Meat x4 Raw Meat x4 Butchery
Level 4
0.8 15 1
Butchery Table Prime Cut x1 Raw Meat x16 Butchery
Level 6
0.8 15 1
Campfire Charred Meat x1 Raw Meat x1 Campfire Cooking
Level 0
1 15 0.5
Fish Rack Dried Meat x1 Raw Meat x1 Hunting
Level 1
2 25 0.5
Fish Rack Sweet Deer Jerky x1 Raw Meat x1 Sugar x1 Oil Tag x1 Fruit Tag x1 Hunting
Level 1
3 25 0.5



{{TestGetRecipes|table=Workbench}}

Template:TestGetRecipes