Template:Crafting/doc: Difference between revisions

imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 33: Line 33:
{{Crafting|4=Crude Steel|5=Crude Steel|6=Crude Steel|RESULT=Steel Ingot}}
{{Crafting|4=Crude Steel|5=Crude Steel|6=Crude Steel|RESULT=Steel Ingot}}


<code><nowiki>{{Crafting|1=Red Wooden Planks|4=Red Wooden Planks|5=Red Wooden Planks|7=Red Wooden Planks|8=Red Wooden Planks|9=Red Wooden Planks|RESULT=Red Wooden Stairs,6}}</nowiki></code> gives:
<code><nowiki>{{Crafting|1=Any Planks|4=Any Planks|5=Any Planks|7=Any Planks|8=Any Planks|9=Any Planks|RESULT=Any Wooden Stairs,6}}</nowiki></code> gives:


{{Crafting|1=Red Wooden Planks|4=Red Wooden Planks|5=Red Wooden Planks|7=Red Wooden Planks|8=Red Wooden Planks|9=Red Wooden Planks|RESULT=Red Wooden Stairs,6}}
{{Crafting|1=Any Planks|4=Any Planks|5=Any Planks|7=Any Planks|8=Any Planks|9=Any Planks|RESULT=Any Wooden Stairs,6}}
 
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]].


<code><nowiki>{{Crafting|1=Steel Ingot|2=Flint|RESULT=Steel Fire Striker|shapeless=y}}</nowiki></code> gives:
<code><nowiki>{{Crafting|1=Steel Ingot|2=Flint|RESULT=Steel Fire Striker|shapeless=y}}</nowiki></code> gives:
Line 43: Line 45:
This template's items use {{tl|Template:Inventory slot}}, which means they follow the same formatting.
This template's items use {{tl|Template:Inventory slot}}, which means they follow the same formatting.


[[Category:Pages using DynamicPageList3 dplvar parser function]]
== See also ==
* {{tl|Template:Crafting/Furnace}}
* {{tl|Template:Crafting/Inventory}}

Latest revision as of 00:05, 26 March 2023

This template allows for the creation of a crafting interface.

Arguments Edit

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

{{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