More actions
minecraft>ThermoF upcoming parameter doesn't exist anymore |
m 1 revision imported |
||
(No difference)
|
Latest revision as of 13:12, 11 October 2024
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}}
which could lead to issues with that template on other articles.
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 |foot=1 }}
produces:
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 slot | B1 | Specifies ingredients in the top slot
| String | suggested |
Top right slot | C1 | Specifies ingredients in the top right slot
| String | suggested |
Left slot | A2 | Specifies ingredients in the left slot | String | suggested |
Middle slot | B2 | Specifies ingredients in the middle slot
| String | suggested |
Right slot | C2 | Specifies ingredients in the right slot | String | suggested |
Bottom left slot | A3 | Specifies ingredients in the bottom left slot | String | suggested |
Bottom slot | B3 | Specifies ingredients in the bottom slot
| String | suggested |
Bottom right slot | C3 | Specifies ingredients in the bottom right slot | String | suggested |
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 |
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
cs:Šablona:Crafting/doc de:Vorlage:Handwerksrezept/Dokumentation es:Plantilla:Fabricación/doc fr:Modèle:Fabrication/doc it:Template:Fabbricazione/doc ja:テンプレート:Crafting/doc ko:틀:제작/설명문서 lzh:模板:Crafting/doc nl:Sjabloon:Verwerking/doc pt:Predefinição:Fabricação/doc ru:Шаблон:Крафт/док th:แม่แบบ:Crafting/doc uk:Шаблон:Майстрування/док zh:Template:Crafting/doc