Template:Recipe/doc
Jump to navigation
Jump to search
Create a recipe table for items that can be crafted. This template creates hidden "uses" categories on pages, to allow the DPL to create queries and pull together ingredient information for various pages.
Related Templates/Modules:
- This template uses Module:Recipe
- This template stores data into the recipe table.
- This template calls {{Recipe ingredients}} to parse out and store the ingredients and quantity of those ingredients into the recipe ingredients table.
Syntax
{{Recipe |product = Name of item. If left blank will take the {{PAGENAME}}. (optional) |workbench = Name of the workbench this recipe is crafted at. |ingredients = List of ingredients to make this recipe. Separated by ";". Use * to indicate an amount of an item. |time = Time it takes for the recipe to be complete. (e.g 2hr or 20m) |yield = If this recipe yields more than one product. (optional) |recipesource = How to obtain this recipe. |id = If there is more than one recipe to craft the item, this must be incremented so each recipe has a unique id. If left blank it will default to "1". }}
Examples
Wheat Seeds
{{Recipe |product = Wheat Seeds |workbench = Seed Maker |ingredients = Wheat; Mana*8 |time = 48hr |yield = 2}}
×2
Cinnamon Apple Pie
×1
Recipe unlock requirement: Farming level 25