Template:Recipe/doc: Difference between revisions
Jump to navigation
Jump to search
In-menu
crafting
Salty Nori (talk | contribs) (Created page with "{{Documentation/Header}} {{Lua}} This template displays a list of ingredients for a recipe in a similar style to the in-game menus. Categories are automatically created for each ingredient with the format {{L|Category:Uses ((item))}}. ==Syntax== {{T|Recipe |v1=medium=utensil or machine used |v2=items=semicolon list of ingredients |v3=time=process duration if any |v4=yield=yield amount |block=1}} * {{F|medium}} — crafting medium. Defaults to in-menu crafting * {{F...") |
(No difference)
|
Latest revision as of 07:07, 30 January 2024
This is the documentation page for Recipe. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
This template displays a list of ingredients for a recipe in a similar style to the in-game menus. Categories are automatically created for each ingredient with the format [[Category:Uses item]].
Syntax
{{Recipe
|medium = utensil or machine used
|items = semicolon list of ingredients
|time = process duration if any
|yield = yield amount
}}
medium— crafting medium. Defaults to in-menu craftingyield— yield amount. Defaults to 1product— yielded product's name. Defaults to PAGENAME
Examples
{{Recipe
|items = Gold ore*5;Coal
|medium = Furnace
|yield = 3
|time = 24h
|product = Gold bar
}}
yields:
×3
{{Recipe
|items = Apple;Wheat flour;Butter//Large butter;Any Honey
|medium = Oven
|product = Apple pie
}}
yields:
or
×1
{{Recipe
|items = Any insect;Strawberry*4/3
|product = Sprinkler II
}}
yields:
In-menu
crafting
×1
Template Data
No description.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||