Template:Crafting
Using this template, you can create tables like those commonly used in the “Crafting” and “Crafting ingredient” sections of articles about blocks and items. It can be used similarly to {{Crafting Table}}
, except it creates the table for you.
By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Crafting Table}}
. You can set the parameter {{{showname=1}}}
or {{{showname=0}}}
in the first template of the table to show or hide the Name column. To group multiple crafting templates into one table, you also need to set {{{head=1}}}
in the first template of the table, and {{{foot=1}}}
in the last. A 4th column called Description can be added with {{{showdescription=1}}}
and {{{description=The description for the recipe}}}
.
Displaying a shapeless recipe can be accomplished by simply leaving out the grid positions for all ingredients. If the recipe is shapeless and uses less than 5 slots, the template will automatically arrange the items into the bottom-left square, indicating that the recipe can be used in the inventory crafting area.
If using this template outside of the “Crafting” section (e. g. instead of {{Crafting usage}}
or together with it), it is highly important that the {{{ignoreusage}}}
parameter must be set to 1. This will ensure that the template would not be tracked by {{Crafting usage}}
. and it could lead to issues with that template on other articles if not set to 1.
For the specific parameters of a slot, see {{Inventory slot}}
. These parameters can be combined with individual slots. For example, combining title
and A1
results in the A1title
parameter.
Example usage:
{{Crafting | head = 1 | B2 = Coal | B3 = Stick | Output = Torch,4 | showdescription = 1 | description = The description cell can contain ''formatted'' text. }} {{Crafting | Blaze Powder | Gunpowder | Coal | Output = Fire Charge,3 }} {{Crafting | A1 = Coal | B1 = Coal | C1 = Coal | A2 = Coal | B2 = Coal | C2 = Coal | A3 = Coal | B3 = Coal | C3 = Coal | Output = Block of Coal }} {{Crafting | name = [[Pickaxe]] | ingredients = [[Stick]]s +<br>[[Planks]] or<br> [[Cobblestone]] or<br>[[Iron Ingot]]s or<br>[[Gold Ingot]]s or<br>[[Diamond]]s | A1 = Oak Planks; Cobblestone; Iron Ingot; Gold Ingot; Diamond | B1 = Oak Planks; Cobblestone; Iron Ingot; Gold Ingot; Diamond | C1 = Oak Planks; Cobblestone; Iron Ingot; Gold Ingot; Diamond | B2 = Stick | B3 = Stick | Output = Wooden Pickaxe; Stone Pickaxe; Iron Pickaxe; Golden Pickaxe; Diamond Pickaxe }} {{Crafting | A1 = Iron Ingot | B1 = Tater Tot | C1 = Stick | A2 = Stick | B2 = Eraser | C2 = Paper Clip | A3 = Iron Ingot | B3 = Nine-Volt Battery | C3 = Iron Ingot | A1link = Movie:Iron | B1link = Movie:Tater Tot | B2link = none | B3link = none | C2link = none | C3link = Movie:Iron | Output = Potato Launcher | Olink = Movie:Potato Launcher | name = {{AMCM|Potato Launcher}} | ignoreusage = 1 | ingredients = Iron Ingot + Stick +<br>Eraser +<br>Nine-Volt Battery +<br>Paper Clip +<br>Tater Tot | foot=1 }}
produces:
Name | Ingredients | Crafting recipe | [hide]Description |
---|---|---|---|
Torch | Coal + Stick |
The description cell can contain formatted text. | |
Fire Charge | Blaze Powder + Gunpowder + Coal |
||
Block of Coal | Coal | ||
Pickaxe | Sticks + Planks or Cobblestone or Iron Ingots or Gold Ingots or Diamonds |
||
Potato Launcher | Iron Ingot + Stick + Eraser + Nine-Volt Battery + Paper Clip + Tater Tot |
Details
Builds a table that lists crafting recipes. Slot/ingredient parameters use the same syntax as Inventory slot.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Top left slot | A1 | Specifies ingredients in the top left slot
| String | suggested |
Top left slot link | A1link | Specifies the link in the top left slot. Can also be used to disable links by inputting 'none'. | String | optional |
Top slot | B1 | Specifies ingredients in the top slot
| String | suggested |
Top slot link | B1link | Specifies the link in the top slot. Can also be used to disable links by inputting 'none'. | String | optional |
Top right slot | C1 | Specifies ingredients in the top right slot
| String | suggested |
Top right slot link | C1link | Specifies the link in the top right slot. Can also be used to disable links by inputting 'none'. | String | optional |
Left slot | A2 | Specifies ingredients in the left slot | String | suggested |
Left slot link | A2link | Specifies the link in the left slot. Can also be used to disable links by inputting 'none'. | String | optional |
Middle slot | B2 | Specifies ingredients in the middle slot
| String | suggested |
Middle slot link | B2link | Specifies the link in the middle slot. Can also be used to disable links by inputting 'none'. | String | optional |
Right slot | C2 | Specifies ingredients in the right slot | String | suggested |
Right slot link | C2link | Specifies the link in the right slot. Can also be used to disable links by inputting 'none'. | String | optional |
Bottom left slot | A3 | Specifies ingredients in the bottom left slot | String | suggested |
Bottom left slot link | A3link | Specifies the link in the bottom left slot. Can also be used to disable links by inputting 'none'. | String | optional |
Bottom slot | B3 | Specifies ingredients in the bottom slot
| String | suggested |
Bottom slot link | B3link | Specifies the link in the bottom slot. Can also be used to disable links by inputting 'none'. | String | optional |
Bottom right slot | C3 | Specifies ingredients in the bottom right slot | String | suggested |
Bottom right slot link | C3link | Specifies the link in the bottom right slot. Can also be used to disable links by inputting 'none'. | String | optional |
First ingredient | 1 | First ingredient in a shapeless recipe
| String | optional |
Second ingredient | 2 | Second ingredient in a shapeless recipe
| String | optional |
Third ingredient | 3 | Third ingredient in a shapeless recipe | String | optional |
Fourth ingredient | 4 | Fourth ingredient in a shapeless recipe | String | optional |
Fifth ingredient | 5 | Fifth ingredient in a shapeless recipe | String | optional |
Sixth ingredient | 6 | Sixth ingredient in a shapeless recipe | String | optional |
Seventh ingredient | 7 | Seventh ingredient in a shapeless recipe | String | optional |
Eighth ingredient | 8 | Eighth ingredient in a shapeless recipe | String | optional |
Ninth ingredient | 9 | Ninth ingredient in a shapeless recipe | String | optional |
Recipe output | Output | Sets the recipe's output. If multiple blocks or items are crafted simultaneously, make sure to specify the number after a comma.
| String | suggested |
Reciped output link | Olink | Specifies the link of the recipe output. Can also be used to disable links by inputting 'none'. | String | optional |
Ignored by Crafting usage | ignoreusage | 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.
| Unknown | optional |
Recipe type | type | 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.
| String | optional |
Shapeless recipe override | shapeless | Forces shapeless recipe mode if "top left slot" and similar parameters are used.
| Unknown | optional |
Fixed recipe mode | fixed | Enables fixed recipe mode for cases when ingredient layout cannot be mirrored (usually for banners)
| Unknown | optional |
Ingredient that is not fixed | notfixed | For fixed recipes, describes the ingredient that can be placed in any free slot as an exception.
| Unknown | optional |
Table header | head | Sets this template instance as the first one in a sequence.
| Unknown | optional |
Table footer | foot | Sets this template instance as the last one in a sequence.
| Unknown | optional |
Description column control | showdescription | 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).
| Unknown | optional |
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. | Content | optional |
Name column control | showname | 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).
| Unknown | optional |
Name override | name | Overrides what is displayed in the Name cell.
| Content | optional |
Ingredients override | ingredients | Overrides what is displayed in the Ingredients cell.
| Content | optional |
Disable categories | nocat | 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.
| Unknown | optional |
See also
- Minecraft
- Minecraft: Story Mode
- A Minecraft Movie