Terraria Wiki

Miss the old Hydra Skin? Try out our Hydralize gadget! Visit the preferences page while logged in and turn on the gadget.

READ MORE

Terraria Wiki
Advertisement
Terraria Wiki

This template adds rows to the table "Recipes", which is declared by the template Recipes. View table.

This template uses Lua.
This template uses Module:Recipes, a script written in the Lua programming language. To learn more about Lua, see Terraria Wiki:Lua.
Template-info.svg Documentation The documentation below is transcluded from Template:Recipes/register/doc. (edit | history)

This template is used to store the data for a recipe into the cargo database.

Usage

{{recipes/register
| version = <recipe exclusivity (see below)>
| result = <result item name> | resultid = <result item ID> | amount = <result item amount> | text = <result item text> | image = <result item image>
| station = <crafting station name>
| <ingredient 1 name> | <ingredient 1 amount>
| <ingredient 2 name> | <ingredient 2 amount>
...
| <ingredient n name> | <ingredient n amount>
}}

Notes

  • All result and ingredient amounts are required, even if they are 1.
  • The version parameter is only to be used if there are two or more recipes for a result item or if a result item is only craftable on a proper subset of the versions it is available on (i.e., if it can be crafted on one version but not on another). Result items that are exclusive to at least one version generally do not get version tags, since the little version icons added by {{item}} sufficiently denote exclusivity of the entire recipe (the same applies to recipes including ingredient items that are exclusive to any version).
    • Use {{eversions}} with code=y as the parameter's value.
  • The text and image parameters are rarely used, and are only appropriate in edge cases.
  • This template shouldn't be used on normal pages, and instead should only be used on Recipes/[station]/register subpages. Here's a list of all those subpages:
  • Advertisement