Template:Recipe/doc

From Outward Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Recipe Template

This template should be used on item's page to define crafting recipe for that item. For listing of all recipes current item is required for, use Template:Used in.

Usage

{{recipe
| name                 = Optional. Defaults to name of the page.
| image                = Optional. Image of craft result
| count                = Optional. Amount of items crafted
| ingredient1          = Mandatory
| ingredient2          = Optional.
| ingredient3          = Optional.
| ingredient4          = Optional.
| station              = Defaults to "None" if blank, or use on of: "Alchemy Kit", "Cooking Pot", "Campfire", "Legacy Chest", "Blacksmith" 
| blacksmith           = Optional, name of the Blacksmith where this item is commissioned.
| blacksmithSilver     = Optional, silver cost of commissioning this item.
| bIngredient1         = Optional, use these fields for Blacksmith ingredients.
| bIngredient1qty      = Optional, quantity of first blacksmith ingredient
| bIngredient2         = Optional.
| bIngredient2qty      = Optional, quantity of secondary blacksmith ingredient
| noHeader = If defined it will hide the table header, use alongside {{RecipeHeader}} template, then close the list manually with "|}"
}}

Examples

Standard

{{recipe
| name        = Alpha Jerky
| image       = Alpha Jerky.png
| count       = 5
| ingredient1 = Raw Alpha Meat
| ingredient2 = Raw Alpha Meat
| ingredient3 = Salt
| ingredient4 = Salt
| station     = Cooking Pot
}}
Result Ingredients Station
Cooking Pot

Blacksmith

Result Ingredients Station
Loud-Hammer
{{RecipeHeader}}{{recipe
| name        = Blue Sand Helm
| image       = Blue Sand Helm.png
| station     = Blacksmith
| blacksmith  = Loud-Hammer
| blacksmithSilver     = 250
| bIngredient1         = Blue Sand
| bIngredient1qty      = 2
| bIngredient2         = 
| bIngredient2qty      = 
| noHeader = y
| noadd  
}}
|}

See Also

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.