Template:RecipeTable/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
No edit summary
Create: Minecraft Mod Wiki>Joker876
Line 17: Line 17:
{{ParametersHead}}
{{ParametersHead}}
{{Parameters|1|yes|string|The item name of the output item.}}
{{Parameters|1|yes|string|The item name of the output item.}}
{{Parameters|2|yes|string|The ingredients needed to craft the item. <span style="text-decoration: underline">Amounts of different ingredients should not be listed here!</span>}}
{{Parameters|2|yes|string|The ingredients needed to craft the item. '''Amounts of different ingredients should not be listed here!'''}}
{{Parameters|3|yes|string|The recipe needed to craft the item. Any [[:Category:Inventory_templates|Inventory template]] can be used here.}}
{{Parameters|3|yes|string|The recipe needed to craft the item. Any [[:Category:Inventory_templates|Inventory template]] can be used here.}}
{{ParametersFoot}}
{{ParametersFoot}}

Revision as of 10:01, 29 April 2021

This is a documentation subpage for Template:RecipeTable.
It contains usage information, categories and other content that is not part of the original template page.

This template is used to make the crafting table recipes table found in the obtaining or uses sections.

Definition

This template consists of three separate ones: {{RecipeTableHead}}, {{RecipeTable}}, and {{RecipeTableFoot}}. On an article, {{RecipeTableHead}} has to be used before, {{RecipeTable}}, and {{RecipeTableFoot}} has to be used afterwards. Example:

{{RecipeTableHead}}
{{RecipeTable|...}}
{{RecipeTableFoot}}

Head template

Parameter R? Type Description Default
1
No
/
The text displayed in the last cell of the header. Crafting recipe

Main Template

Parameter R? Type Description Default
1
Yes
/
The item name of the output item.
2
Yes
/
The ingredients needed to craft the item. Amounts of different ingredients should not be listed here!
3
Yes
/
The recipe needed to craft the item. Any Inventory template can be used here.