Template:RecipeNew/doc

From Subnautica Wiki
< Template:RecipeNew
Revision as of 01:45, 23 July 2022 by SlyAceZeta (talk | contribs) (Adding ability to use item name and note that the template uses the page's name by default)

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item Spawn ID/Name1

The spawn ID or name of the item

Default
Attempts to look up the item using the page name
Example
fibermesh
Stringoptional
Game ID2

The ID of the game, either "SN" or "BZ" without quotes, set to "SN" by default

Default
SN
Example
BZ
Stringoptional
Mode3

The template mode to use: "recipe", "uses", or "power" without quotes, set to "recipe" by default

Default
recipe
Example
uses
Stringoptional

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.