Template:Crafting: Difference between revisions
No edit summary |
imported>Ttv pedro270707 m (Added title to shapeless icon) |
||
(378 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><div class="crafting-table-ui pixelated"><div style="display: inline-grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);">{{Inventory slot|item={{{1|}}}}}{{Inventory slot|item={{{2|}}}}}{{Inventory slot|item={{{3|}}}}}{{Inventory slot|item={{{4|}}}}}{{Inventory slot|item={{{5|}}}}}{{Inventory slot|item={{{6|}}}}}{{Inventory slot|item={{{7|}}}}}{{Inventory slot|item={{{8|}}}}}{{Inventory slot|item={{{9|}}}}}</div><span style="margin-left: 6px; margin-right: 6px; pointer-events: none; user-select: none;">[[File:Result arrow.png|link=]]</span>{{Inventory slot|item={{{RESULT|}}}|width=44|height=44}}{{#ifeq: {{bl|{{{shapeless|}}}}} | y | <div style="position: absolute; bottom: 4px; right: 4px; cursor: help; user-select: none;" title="This recipe is shapeless, the inputs may be placed in any arrangement in the crafting grid.">[[File:Shapeless.png|link=]]</div> | }}</div></includeonly><noinclude> | ||
{{Documentation}} | |||
<!-- Put categories on the documentation page --> | |||
{{ | </noinclude> | ||
{{ | |||
{{ | |||
{{ | |||
{{# | |||
</div></includeonly> |
Latest revision as of 02:43, 30 March 2023
[view | | | ]Documentation
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]
{{Crafting/Furnace}}
{{Crafting/Inventory}}
[view | | | ]The above documentation is transcluded from Template:Crafting/doc.