Template:CraftingTable/doc

This template is used to add recipes to crafting_recipes cargo table. It can also be used to display these recipes in a table, but consider using Template:AutomatedCrafting for that instead.

'''Note: by default table will be invisible but the recipe will be added to cargo. If you need to display the table itself, use ''' '''To display information from all CraftingTables at once use  after that.

Parameters
{	"description": "This template is used to add recipes to crafting_recipes cargo table.", "format": "block", "params": { "recipeName": { "label": "Recipe Name", "description": "Optional. The name of the recipe, if different from `product`.", "default": "", "type": "line" },		"product": { "label": "Main Product Name", "description": "The name of the main crafted product.", "required": true, "type": "wiki-page-name" },		"productCount": { "label": "Main Product Count", "description": "Count of created main product.", "default": "1", "suggested": true, "type": "number" },		"product2": { "label": "Product 2 Name", "description": "The name of the byproducts.", "type": "wiki-page-name" },		"productCount2": { "label": "Product 2 Count", "description": "Count of created byproducts.", "default": "1", "type": "number" },		"product3": { "label": "Product 3 Name", "type": "wiki-page-name" },		"productCount3": { "label": "Product 3 Count", "default": "1", "type": "number" },		"product4": { "label": "Product 4 Name", "type": "wiki-page-name" },		"productCount4": { "label": "Product 4 Count", "default": "1", "type": "number" },		"alternateRecipe": { "description": "Set to `1` if the recipe is an alternate recipe. Defaults to 0.", "default": "0", "autovalue": "1", "type": "boolean" },		"mainRecipe": { "description": "Set to `1` if it's the first recipe you learn for this item or it's the primary mean of acquiring the item (e.g. crafting Empty Canister from plastic is a main recipe in contrast to all unpackage recipes, which also yield Empty Canisters).\nUsed for ordering recipes. You can use numbers higher than 1 to give the recipe even more ordering priority if there're multiple 'main' recipes.\n", "default": "0", "autovalue": "1", "type": "number" },		"ingredient1": { "label": "Ingredient 1 Name", "description": "The name of ingredients used.", "type": "wiki-page-name" },		"quantity1": { "label": "Ingredient 1 Count", "description": "The count of ingredients used.", "default": "1", "type": "number" },		"ingredient2": { "label": "Ingredient 2 Name", "type": "wiki-page-name" },		"quantity2": { "label": "Ingredient 2 Count", "default": "1", "type": "number" },		"ingredient3": { "label": "Ingredient 3 Name", "type": "wiki-page-name" },		"quantity3": { "label": "Ingredient 3 Count", "default": "1", "type": "number" },		"ingredient4": { "label": "Ingredient 4 Name", "type": "wiki-page-name" },		"quantity4": { "label": "Ingredient 4 Count", "default": "1", "type": "number" },		"ingredient5": { "label": "Ingredient 5 Name", "type": "wiki-page-name" },		"quantity5": { "label": "Ingredient 5 Count", "default": "1", "type": "number" },		"ingredient6": { "label": "Ingredient 6 Name", "type": "wiki-page-name" },		"quantity6": { "label": "Ingredient 6 Count", "default": "1", "type": "number" },		"ingredient7": { "label": "Ingredient 7 Name", "type": "wiki-page-name" },		"quantity7": { "label": "Ingredient 7 Count", "default": "1", "type": "number" },		"ingredient8": { "label": "Ingredient 8 Name", "type": "wiki-page-name" },		"quantity8": { "label": "Ingredient 8 Count", "default": "1", "type": "number" },		"ingredient9": { "label": "Ingredient 9 Name", "type": "wiki-page-name" },		"quantity9": { "label": "Ingredient 9 Count", "default": "1", "type": "number" },		"ingredient10": { "label": "Ingredient 10 Name", "type": "wiki-page-name" },		"quantity10": { "label": "Ingredient 10 Count", "default": "1", "type": "number" },		"craftedIn": { "label": "Building", "description": "Name of the building where this recipe is used.", "type": "wiki-page-name" },		"avgPower": { "label": "Average Power", "description": "The average power consumption for the selected recipe, if power consumption depends on this recipe. Currently only used for Particle Accelerator recipes.", "type": "number" },		"inCraftBench": { "description": "Set to `1` if the recipe can be crafted by hand in the Craft Bench.", "default": "0", "autovalue": "1", "type": "boolean" },		"inWorkshop": { "aliases": ["inWorkShop"], "description": "Set to `1` if the recipe can be crafted by hand in the Equipment Workshop.", "default": "0", "autovalue": "1", "type": "boolean" },		"craftingTime": { "label": "Automatic Crafting Time", "description": "Duration of crafting in buildings without overclocking.", "type": "number" },		"craftingClicks": { "label": "Manual Crafting Time", "description": "The amount of clicks/cycles needed for manual crafting in Craft Bench or Equipment Workshop.", "type": "number" },		"researchTier": { "label": "Research Tier", "description": "The milestone tier or the M.A.M. research category in which this item is unlocked.", "suggested": true, "type": "content" },		"makeVisible": { "label": "Make Visible?", "description": "Set to `1` to display the table, otherwise it will be invisible and will only add the recipe to cargo.", "default": "0", "autovalue": "1", "type": "boolean" },		"tableEnd": { "label": "Table End?", "description": "Set to `1` for the last row to end the table. Do not forget this parameter or page layout may start acting weird!", "default": "0", "autovalue": "1", "type": "boolean" },		"storeInCargo": { "label": "Store in Cargo?", "description": "Set to `0` to skip storing data in cargo. Normally it will store in cargo automatically if page name matches the main product of the recipe.", "default": "1", "autovalue": "0", "type": "boolean" },		"experimental": { "label": "Experimental?", "description": "Set to `1` if this recipe is only available in Experimental version of the game.", "default": "0", "autovalue": "1", "type": "boolean" },		"unreleased": { "label": "Unreleased?", "description": "Set to `1` if this recipe is not available in the game but was datamined or removed at some point.", "default": "0", "autovalue": "1", "type": "boolean" },		"season": { "label": "Season", "description": "The name of the season.\n;Valid values\n:FICSMAS\n", "example": "FICSMAS", "type": "string" }	} }