Template:Item recipe: Difference between revisions
(uses) |
(wip) |
||
Line 9: | Line 9: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Item | "label": "Method", | ||
"description": "Item name, ID or alias. Any casing is allowed for name/alias, but not for ID. ", | "description": "Item production method. Use \"all\" to generate recipes across all possible production methods. TODO commas for multiple methods at the same time.", | ||
"type": "line", | |||
"required": true, | |||
"example": "lathe", | |||
"suggestedvalues": [ | |||
"all", | |||
"lathe" | |||
] | |||
}, | |||
"2": { | |||
"label": "Item", | |||
"description": "Item name, ID or alias. Any casing is allowed for name/alias, but not for ID. Do not pass {{item}} here.", | |||
"type": "line", | "type": "line", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "3": { | ||
"label": "Layout", | "label": "Layout", | ||
"description": "Recipe layout.", | "description": "Recipe layout.", | ||
Line 30: | Line 41: | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
"2" | "2", | ||
"3" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 14:16, 23 August 2024
Examples
Basic
{{item recipe
↓
Non-default recipes
Not all recipes are available by default.
Non-default recipes will have a note attached, specifying the means of getting said recipe.
Researchable recipes
Recipes that need to be researched first to manufacture.
{{item recipe
↓
Emagged recipes
Recipes that can only be accessed by EMAGging a machine.
{{item recipe
↓
Researchable emagged recipes
Recipes that can only be accessed by researching and then EMAGging a machine.
{{item recipe
↓
Materials-only mode
Renders only the materials, without header or notes.
{{item recipe
↓
Materials-only mode layout
Allows to change how materials are layed out.
Vertical
The default.
Horizontal
{{item recipe
↓
List of recipes by method
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Method | 1 | Item production method. Use "all" to generate recipes across all possible production methods. TODO commas for multiple methods at the same time.
| Line | required |
Item | 2 | Item name, ID or alias. Any casing is allowed for name/alias, but not for ID. Do not pass {{item}} here. | Line | required |
Layout | 3 | Recipe layout.
| Line | suggested |