Template:RecipeNew/doc: Difference between revisions
SlyAceZeta (talk | contribs) (Created page with "==TemplateData== <templatedata> { "params": { "1": { "label": "Spawn ID", "description": "The spawn ID of the item", "example": "fibermesh", "type": "string", "required": true }, "2": { "label": "Game ID", "description": "The ID of the game, either \"SN\" or \"BZ\" without quotes, set to \"SN\" by default", "example": "BZ", "type": "string", "default": "SN" }, "3": { "label": "Mode", "description": "The template mode to use:...") |
SlyAceZeta (talk | contribs) m (Adding category) |
||
Line 51: | Line 51: | ||
<pre>{{RecipeNew|fibermesh|BZ|uses}}</pre> |
<pre>{{RecipeNew|fibermesh|BZ|uses}}</pre> |
||
{{RecipeNew|fibermesh|BZ|uses}} |
{{RecipeNew|fibermesh|BZ|uses}} |
||
<noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 01:34, 23 July 2022
TemplateData
This multi-function template can display a single item's recipe, a single item's power output, or all recipes using a single item.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Spawn ID | 1 | The spawn ID of the item
| String | required |
Game ID | 2 | The ID of the game, either "SN" or "BZ" without quotes, set to "SN" by default
| String | optional |
Mode | 3 | The template mode to use: "recipe", "uses", or "power" without quotes, set to "recipe" by default
| String | optional |
Examples
Single Recipe
{{RecipeNew|fibermesh}}
Lua error in package.lua at line 80: module 'Dev:Arguments' not found.
{{RecipeNew|fibermesh|BZ}}
Lua error in package.lua at line 80: module 'Dev:Arguments' not found.
Power Output
{{RecipeNew|creepvinepiece||power}}
Lua error in package.lua at line 80: module 'Dev:Arguments' not found.
{{RecipeNew|creepvinepiece|BZ|power}}
Lua error in package.lua at line 80: module 'Dev:Arguments' not found.
Uses Ingredient
{{RecipeNew|fibermesh||uses}}
Lua error in package.lua at line 80: module 'Dev:Arguments' not found.
{{RecipeNew|fibermesh|BZ|uses}}
Lua error in package.lua at line 80: module 'Dev:Arguments' not found.