Template:Item recipe: Difference between revisions

From Space Station 14 Wiki
(uses)
(wip)
Line 9: Line 9:
"params": {
"params": {
"1": {
"1": {
"label": "Item name",
"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
},
},
"2": {
"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

Template documentation
view or edit this documentation about template documentation
Uses Lua module
This template uses Lua module:
Uses template styles
This template uses template styles found in:

Examples

Basic

{{item recipe|small-capacity power cell}}


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|satchel of holding}}


Emagged recipes

Recipes that can only be accessed by EMAGging a machine.

{{item recipe|combat knife|1|autolathe}}


Researchable emagged recipes

Recipes that can only be accessed by researching and then EMAGging a machine.

{{item recipe|x-ray cannon|1|protolathe}}


Materials-only mode

Renders only the materials, without header or notes.

{{item recipe|Jaws of life|materials only=1}}


Materials-only mode layout

Allows to change how materials are layed out.

Vertical

The default.

Horizontal

{{item recipe|Jaws of life|materials only=1|materials only layout=horizontal}}


List of recipes by method

Method Page
autolathe Template:Item recipe/lists of recipes by method/autolathe
protolathe Template:Item recipe/lists of recipes by method/protolathe
uniform printer Template:Item recipe/lists of recipes by method/uniform printer
circuit imprinter Template:Item recipe/lists of recipes by method/circuit imprinter
exosuit fabricator Template:Item recipe/lists of recipes by method/exosuit fabricator
medical techfab Template:Item recipe/lists of recipes by method/medical techfab
biocube fabricator Template:Item recipe/lists of recipes by method/biocube fabricator
security techfab Template:Item recipe/lists of recipes by method/security techfab
ore processor Template:Item recipe/lists of recipes by method/ore processor
industrial ore processor Template:Item recipe/lists of recipes by method/industrial ore processor
sheet-meister 2000 Template:Item recipe/lists of recipes by method/sheet-meister 2000
cutter machine Template:Item recipe/lists of recipes by method/cutter machine
biogenerator Template:Item recipe/lists of recipes by method/biogenerator

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Method1

Item production method. Use "all" to generate recipes across all possible production methods. TODO commas for multiple methods at the same time.

Suggested values
all lathe
Example
lathe
Linerequired
Item2

Item name, ID or alias. Any casing is allowed for name/alias, but not for ID. Do not pass {{item}} here.

Linerequired
Layout3

Recipe layout.

Suggested values
vertical ver horizontal hor
Default
vertical
Linesuggested