Template:ItemRecipe
This template adds rows to the table "Recipes", which is declared by the template Recipes/CargoDeclare. View table.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
resultItem | resultItem | The resulting item
| Page name | optional |
resultAmount | resultAmount | The amount of the crafted item | Number | suggested |
requiredStation | requiredStation | Station required to craft this recipe
| String | required |
craftDuration | craftDuration | How long it takes to craft the item, formatted mm:ss
| String | optional |
ingredient1Item | ingredient1Item | The first ingredient used in the recipe | Page name | required |
ingredient1Amount | ingredient1Amount | The amount of the first ingredient used in the recipe | Number | required |
ingredient2Item | ingredient2Item | The second ingredient used in the recipe | Page name | optional |
ingredient2Amount | ingredient2Amount | The amount of the second ingredient used in the recipe | Number | optional |
ingredient3Item | ingredient3Item | The third ingredient used in the recipe | Page name | optional |
ingredient3Amount | ingredient3Amount | The amount of the third ingredient used in the recipe | Number | optional |
ingredient4Item | ingredient4Item | The fourth ingredient used in the recipe | Page name | optional |
ingredient4Amount | ingredient4Amount | The amount of the fourth ingredient used in the recipe | Number | optional |