Файл:Imbox deletion.png Внимание! Начат процесс обновления Wiki до версии игры 10.x. Если у Вас есть желание принять участие, то Вы можете найти больше информации в нашем ECO Contribution Wiki Discord.

Шаблон:GetRecipes: различия между версиями

Материал из Eco - Русская Wiki
Перейти к:навигация, поиск
[досмотренная версия][досмотренная версия]
Строка 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.
==Example==
<pre>
{{GetRecipes|item=Iron Axle}}
</pre>
{{GetRecipes|item=Iron Axle}}
<pre>
{{GetRecipes|item=Beans}}
</pre>
{{GetRecipes|item=Beans}}
<pre>
{{GetRecipes|table=Workbench}}
</pre>
{{GetRecipes|table=Workbench}}
</noinclude>

Версия от 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.


Example

{{GetRecipes|item=Iron Axle}}

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}}

Обнаружена петля в шаблонах: Шаблон:GetRecipes

{{GetRecipes|item=Beans}}

Обнаружена петля в шаблонах: Шаблон:GetRecipes

{{GetRecipes|table=Workbench}}

Обнаружена петля в шаблонах: Шаблон:GetRecipes


</noinclude>

{{GetRecipes|item=Beans}}

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}}

Обнаружена петля в шаблонах: Шаблон:GetRecipes

{{GetRecipes|item=Beans}}

Обнаружена петля в шаблонах: Шаблон:GetRecipes

{{GetRecipes|table=Workbench}}

Обнаружена петля в шаблонах: Шаблон:GetRecipes


</noinclude>

{{GetRecipes|table=Workbench}}

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}}

Обнаружена петля в шаблонах: Шаблон:GetRecipes

{{GetRecipes|item=Beans}}

Обнаружена петля в шаблонах: Шаблон:GetRecipes

{{GetRecipes|table=Workbench}}

Обнаружена петля в шаблонах: Шаблон:GetRecipes


</noinclude>