このテンプレートを使用すると、ブロックやアイテムに関する記事の「クラフト」節や「Crafting ingredient」節で一般的に使用されているようなテーブルを作成できます。 {{Crafting Table}}
と同様に使用できますが、テーブルが作成される点が異なります。
デフォルトでは、テーブルは、名前、材料、および{{Crafting Table}}
を含むメイン列の3つの列で生成されます。 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.
Example usage:
{{Crafting |head=1 |B2=Coal |B3=Stick |Output=Torch,4 |showdescription=1 |description=説明には''整形された''テキストを含むことができます。 }} {{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 |upcoming=Java Edition 1.6.1 }} {{Crafting |name=[[ツルハシ]] |ingredients=[[棒]] +<br>[[板材]] または<br> [[丸石]] または<br>[[鉄インゴット]] または<br>[[金インゴット]] または<br>[[ダイヤモンド]] |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:
名前 | 材料 | クラフトのレシピ | 説明 |
---|---|---|---|
松明 | 石炭 + 棒 |
説明には整形されたテキストを含むことができます。 | |
ファイヤーチャージ | ブレイズパウダー + 火薬 + 石炭 |
||
石炭ブロック | 石炭 | ||
ツルハシ | 棒 + 板材 または 丸石 または 鉄インゴット または 金インゴット または ダイヤモンド |