Template:Crafting: Difference between revisions

m 1 revision imported
No edit summary
 
Line 2: Line 2:
{{documentation}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
<templatedata>
{
"params": {
"1": {
"label": "First ingredient",
"description": "First ingredient in a shapeless recipe",
"example": "Flint",
"type": "string"
},
"2": {
"label": "Second ingredient",
"description": "Second ingredient in a shapeless recipe",
"type": "string",
"example": "Iron Ingot"
},
"3": {
"label": "Third ingredient",
"description": "Third ingredient in a shapeless recipe",
"type": "string"
},
"4": {
"label": "Fourth ingredient",
"description": "Fourth ingredient in a shapeless recipe",
"type": "string"
},
"5": {
"label": "Fifth ingredient",
"description": "Fifth ingredient in a shapeless recipe",
"type": "string"
},
"6": {
"label": "Sixth ingredient",
"description": "Sixth ingredient in a shapeless recipe",
"type": "string"
},
"7": {
"label": "Seventh ingredient",
"description": "Seventh ingredient in a shapeless recipe",
"type": "string"
},
"8": {
"label": "Eighth ingredient",
"description": "Eighth ingredient in a shapeless recipe",
"type": "string"
},
"9": {
"label": "Ninth ingredient",
"description": "Ninth ingredient in a shapeless recipe",
"type": "string"
},
"A1": {
"label": "Top left slot",
"description": "Specifies ingredients in the top left slot",
"example": "{Any Planks}; {Any stone-tier block}; Iron Ingot; Gold Ingot; Diamond",
"type": "string",
"suggested": true
},
"B1": {
"label": "Top slot",
"description": "Specifies ingredients in the top slot",
"example": "{Any Planks}; {Any stone-tier block}; Iron Ingot; Gold Ingot; Diamond",
"type": "string",
"suggested": true
},
"C1": {
"label": "Top right slot",
"description": "Specifies ingredients in the top right slot",
"example": "{Any Planks}; {Any stone-tier block}; Iron Ingot; Gold Ingot; Diamond",
"type": "string",
"suggested": true
},
"A2": {
"label": "Left slot",
"description": "Specifies ingredients in the left slot",
"type": "string",
"suggested": true
},
"B2": {
"label": "Middle slot",
"description": "Specifies ingredients in the middle slot",
"example": "Stick",
"type": "string",
"suggested": true
},
"C2": {
"label": "Right slot",
"description": "Specifies ingredients in the right slot",
"type": "string",
"suggested": true
},
"A3": {
"label": "Bottom left slot",
"description": "Specifies ingredients in the bottom left slot",
"type": "string",
"suggested": true
},
"B3": {
"label": "Bottom slot",
"description": "Specifies ingredients in the bottom slot",
"example": "Stick",
"type": "string",
"suggested": true
},
"C3": {
"label": "Bottom right slot",
"description": "Specifies ingredients in the bottom right slot",
"type": "string",
"suggested": true
},
"shapeless": {
"label": "Shapeless recipe override",
"description": "Forces shapeless recipe mode if \"top left slot\" and similar parameters are used.",
"type": "unknown",
"suggestedvalues": [
"1"
],
"default": "Shapeless mode is automatically enabled when \"first ingredient\" parameter is used.",
"autovalue": "1"
},
"fixed": {
"label": "Fixed recipe mode",
"description": "Enables fixed recipe mode for cases when ingredient layout cannot be mirrored (usually for banners)",
"type": "unknown",
"suggestedvalues": [
"1"
],
"autovalue": "1"
},
"Output": {
"label": "Recipe output",
"description": "Sets the recipe's output. If multiple blocks or items are crafted simultaneously, make sure to specify the number after a comma.",
"example": "Wooden Pickaxe; Stone Pickaxe; Iron Pickaxe; Gold Pickaxe; Diamond Pickaxe",
"type": "string",
"suggested": true
},
"notfixed": {
"label": "Ingredient that is not fixed",
"description": "For fixed recipes, describes the ingredient that can be placed in any free slot as an exception.",
"example": "the banner"
},
"head": {
"label": "Table header",
"description": "Sets this template instance as the first one in a sequence.",
"suggestedvalues": [
"1"
],
"autovalue": "1"
},
"foot": {
"label": "Table footer",
"description": "Sets this template instance as the last one in a sequence.",
"suggestedvalues": [
"1"
],
"autovalue": "1"
},
"showname": {
"label": "Name column control",
"description": "Controls whether to display the \"name\" column which lists what block(s) or item(s) is/are made by the recipe. Value of 1 makes the column show, any other values disable it. For multi-template tables, only set this parameter in the first template (which as the \"head\" parameter set).",
"suggestedvalues": [
"0",
"1"
],
"default": "The name column is shown by default when the template has the \"head\" parameter set to 1; subsequent templates in the sequence use the first one's value. The column is not shown when the template is standalone.",
"autovalue": "1"
},
"showdescription": {
"label": "Description column control",
"description": "Controls whether to display the description column. Value of 1 makes it show, any other values disable it. For multi-template tables, only set this parameter in the first template (which as the \"head\" parameter set).",
"suggestedvalues": [
"1"
],
"default": "The column is not shown by default. In template sequences, templates use the same value as the first template.",
"autovalue": "1"
},
"name": {
"label": "Name override",
"description": "Overrides what is displayed in the Name cell.",
"example": "Any Pickaxe (except Netherite)",
"type": "content",
"default": "The name is inferred automatically from the output slot."
},
"description": {
"label": "Additional desciption",
"description": "Provides an additional description to the recipe, such as edition exclusivity or upcoming version which will add the recipe. Make sure to set the \"showdescription\" parameter, or it will not show.",
"type": "content"
},
"ingredients": {
"label": "Ingredients override",
"description": "Overrides what is displayed in the Ingredients cell.",
"type": "content",
"default": "The ingredients are inferred automatically."
},
"ignoreusage": {
"label": "Ignored by Crafting usage",
"description": "Sets the template to be ignored by the Crafting usage template. This means the recipe will not appear in the \"Crafting ingredient\" subsection of \"Usage\" on other articles. When not using the template inside the \"Crafting\" subsection of \"Obtaining\", this parameter is mandatory to avoid issues with Crafting usage.",
"suggestedvalues": [
"1"
],
"autovalue": "1"
},
"nocat": {
"label": "Disable categories",
"description": "Sets the template to not add the page to any category. For technical reasons, this will also imply \"ignoreusage\" because Crafting usage relies on hidden categories set by this template.",
"suggestedvalues": [
"1"
],
"default": "Categories are not added on subarticles or outside of the article namespace.",
"autovalue": "1"
},
"type": {
"label": "Recipe type",
"description": "Sets the category for this recipe. If set, the recipe will be automatically added to the corresponding subsection in the Crafting article's \"Complete recipe list\" section. Has no effect if \"ignoreusage\" parameter is active.",
"example": "Combat",
"type": "string",
"suggestedvalues": [
"Building blocks",
"Decoration blocks",
"Redstone",
"Transportation",
"Foodstuffs",
"Tools",
"Utilities",
"Combat",
"Brewing",
"Materials",
"Miscellaneous"
]
}
},
"description": "Builds a table that lists crafting recipes. Slot/ingredient parameters use the same syntax as Inventory slot.",
"paramOrder": [
"A1",
"B1",
"C1",
"A2",
"B2",
"C2",
"A3",
"B3",
"C3",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"Output",
"ignoreusage",
"type",
"shapeless",
"fixed",
"notfixed",
"head",
"foot",
"showdescription",
"description",
"showname",
"name",
"ingredients",
"nocat"
],
"format": "\n{{_\n|_ = _\n}}\n"
}</templatedata>
</noinclude>
</noinclude>