Template:ItemRecipe

From Abiotic Factor Wiki
Jump to navigation Jump to search

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

Template-info.svg Documentation Edit this documentation at Template:ItemRecipe/doc.

Declare an item recipe. Should only be used once per recipe in the resulting item page.

If you want display recipes, use Template:Recipes

Usage

{{itemRecipe
<!-- Optional, defaults to the page name--> 
|resultItem = 
|resultAmount = 

|craftDuration = 

<!-- Stations: Crafting Bench-->
|requiredStation = 

|ingredient1Item = 
|ingredient1Amount = 
|ingredient2Item = 
|ingredient2Amount = 
|ingredient3Item = 
|ingredient3Amount = 
|ingredient4Item = 
|ingredient4Amount = 
}}

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
resultItemresultItem

The resulting item

Default
{{PAGENAME}}
Page nameoptional
resultAmountresultAmount

The amount of the crafted item

Numbersuggested
requiredStationrequiredStation

Station required to craft this recipe

Suggested values
Crafting Bench Chef's Counter
Stringrequired
craftDurationcraftDuration

How long it takes to craft the item, formatted mm:ss

Example
1:40
Stringoptional
ingredient1Itemingredient1Item

The first ingredient used in the recipe

Page namerequired
ingredient1Amountingredient1Amount

The amount of the first ingredient used in the recipe

Numberrequired
ingredient2Itemingredient2Item

The second ingredient used in the recipe

Page nameoptional
ingredient2Amountingredient2Amount

The amount of the second ingredient used in the recipe

Numberoptional
ingredient3Itemingredient3Item

The third ingredient used in the recipe

Page nameoptional
ingredient3Amountingredient3Amount

The amount of the third ingredient used in the recipe

Numberoptional
ingredient4Itemingredient4Item

The fourth ingredient used in the recipe

Page nameoptional
ingredient4Amountingredient4Amount

The amount of the fourth ingredient used in the recipe

Numberoptional