Шаблон:GetRecipes: различия между версиями
Материал из Eco - Русская Wiki
[досмотренная версия] | [досмотренная версия] |
StalEF (обсуждение | вклад) |
StalEF (обсуждение | вклад) |
||
Строка 20: | Строка 20: | ||
; table | ; table | ||
: A crafting table in the game. This has no effect if 'item' is specified. | : A crafting table in the game. This has no effect if 'item' is specified. | ||
Версия от 19:51, 26 сентября 2020
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.