Template:Crafting/doc

From BTA-Mirror

This template allows for the creation of a crafting interface.

Arguments[edit source]

Argument Note
1 Top left slot.
2 Top center slot.
3 Top right slot.
4 Middle left slot.
5 Middle center slot.
6 Middle right slot.
7 Bottom left slot.
8 Bottom center slot.
9 Bottom right slot.
RESULT Result slot.
shapeless If the recipe is shapeless or not.

Usage[edit source]

{{Crafting|4=Crude Steel|5=Crude Steel|6=Crude Steel|RESULT=Steel Ingot}} gives:

{{Crafting|1=Any Planks|4=Any Planks|5=Any Planks|7=Any Planks|8=Any Planks|9=Any Planks|RESULT=Any Wooden Stairs,6}} gives:

Note that, unlike the Minecraft Wiki, "Matching [item]" does not exist here, and instead "Any [item]" is used. "Any [item]" is not in a random order; its order is specified in Module:Inventory slot.

{{Crafting|1=Steel Ingot|2=Flint|RESULT=Steel Fire Striker|shapeless=y}} gives:

This template's items use {{Inventory slot}}, which means they follow the same formatting.

See also[edit source]