Template:Crafting/doc: Difference between revisions
imported>Ttv pedro270707 (Created page with "This template allows for the creation of a crafting interface. == Usage == <code><nowiki>{{Crafting|4=Crude Steel|5=Crude Steel|6=Crude Steel|RESULT=Steel Ingot}}</nowiki></code> gives: {{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: {{Crafting|1=R...") |
imported>Ttv pedro270707 mNo edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This template allows for the creation of a crafting interface. | This template allows for the creation of a crafting interface. | ||
== Arguments == | |||
{| class="wikitable" | |||
! Argument !! Note | |||
|- | |||
| <code>1</code> || Top left slot. | |||
|- | |||
| <code>2</code> || Top center slot. | |||
|- | |||
| <code>3</code> || Top right slot. | |||
|- | |||
| <code>4</code> || Middle left slot. | |||
|- | |||
| <code>5</code> || Middle center slot. | |||
|- | |||
| <code>6</code> || Middle right slot. | |||
|- | |||
| <code>7</code> || Bottom left slot. | |||
|- | |||
| <code>8</code> || Bottom center slot. | |||
|- | |||
| <code>9</code> || Bottom right slot. | |||
|- | |||
| <code>RESULT</code> || Result slot. | |||
|- | |||
| <code>shapeless</code> || If the recipe is shapeless or not. | |||
|} | |||
== Usage == | == Usage == | ||
Line 6: | 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= | <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= | {{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: | |||
{{Crafting|1=Steel Ingot|2=Flint|RESULT=Steel Fire Striker|shapeless=y}} | |||
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. | ||
== 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
{{Crafting/Furnace}}
{{Crafting/Inventory}}