Template:Recipe

From Farworld Pioneers Wiki
Jump to navigation Jump to search


Template-info.svg Documentation The documentation below is transcluded from Template:Recipe/doc.

Used for creating a table to display a recipe for Crafting or Cooking.

Parameters
Parameter Usage Optional
item The resulting product from crafting. Uses {{PAGENAME}} by default. Yes
itemnum The amount of the item crafted Yes
mat1num The amount of the first material needed. No
mat1 The first material needed. No
mat2num The amount of the second material needed (if at least two materials are required). Yes
mat2 The second material needed (if at least two materials are required). Yes
mat3num The amount of the third material needed (if at least three materials are required). Yes
mat3 The third material needed (if at least three materials are required). Yes
mat4num The amount of the fourth material needed (if four materials are required). Yes
mat4 The fourth material needed (if four materials are required). Yes
mat5num The amount of the fifth material needed (if five materials are required). Yes
mat5 The fifth material needed (if five materials are required). Yes
mat6num The amount of the sixth material needed (if six materials are required). Yes
mat6 The sixth material needed (if six materials are required). Yes
station1 the crafting station used No
station2 the second crafting station used No
Example usage

{{Recipe | item = Fried Corn | itemnum = 1 | mat1 = Corn | mat1num = 1 | station1 = Kitchen }}

Displays:

Output Materials Crafting Station

Fried Corn.png Fried Corn x 1

Corn.png Corn x 1

Kitchen.png Kitchen



or

Output Materials Crafting Station

Fried Corn.png Fried Corn x 1

Corn.png Corn x 1
Laser Rifle.png Laser Rifle x 2
Chicken.png Chicken x 1

Kitchen.png Kitchen
Output Materials Crafting Station

Steel Ingot.png Steel Ingot

Meat (Any).gif Meat (Any) x 1
Onion.png Onion x 1

Armorer.png Armorer