No edit summary
No edit summary
Line 24: Line 24:
<pre style="width: 840px">
<pre style="width: 840px">
{{CraftingInterface
{{CraftingInterface
| A3 = Iron Ingot | A3-link = Apricorn
| A3 = {{ItemSlot| item = Copper Ingot | link = Apricorn}}
| B1 = Copper Ingot | B1-tooltip = Gold Ingot
| B1 = {{ItemSlot| item = Copper Ingot | tooltip = Ingot}}
| B2 = Copper Ingot
| B2 = {{ItemSlot| item = Copper Ingot}}
| B3 = Iron Ingot
| B3 = {{ItemSlot| item = Iron Ingot}}
| C1 = Iron Ingot
| C1 = {{ItemSlot| item = Iron Ingot}}
| C2 = Iron Ingot
| C2 = {{ItemSlot| item = Iron Ingot}}
| C3 = Iron Ingot
| C3 = {{ItemSlot| item = Iron Ingot}}
| output = Healing Machine | output-count = 4 | output-tooltip = Link Cable | output-link = PC
| output = {{ItemSlot| item = Healing Machine | link = PC | tooltip = Link Cable | amount = 4}}
}}</pre>
}}</pre>


produces:
produces:
{{CraftingInterface
{{CraftingInterface
| A3 = Iron Ingot | A3-link = Apricorn
| A3 = {{ItemSlot| item = Copper Ingot | link = Apricorn}}
| B1 = Copper Ingot | B1-tooltip = Gold Ingot
| B1 = {{ItemSlot| item = Copper Ingot | tooltip = Ingot}}
| B2 = Copper Ingot
| B2 = {{ItemSlot| item = Copper Ingot}}
| B3 = Iron Ingot
| B3 = {{ItemSlot| item = Iron Ingot}}
| C1 = Iron Ingot
| C1 = {{ItemSlot| item = Iron Ingot}}
| C2 = Iron Ingot
| C2 = {{ItemSlot| item = Iron Ingot}}
| C3 = Iron Ingot
| C3 = {{ItemSlot| item = Iron Ingot}}
| output = Healing Machine | output-count = 4 | output-tooltip = Link Cable | output-link = PC
| output = {{ItemSlot| item = Healing Machine | link = PC | tooltip = Link Cable | amount = 4}}
}}
}}


==Optional Parameters==
==Optional Parameters==
<code>| shapeless = true</code>
<code>| shapeless = true</code>

Revision as of 16:21, 27 November 2025

This template is used to create a grid that looks similar to the Crafting Table's GUI screen.

Notes

Each item can have a custom tooltip by setting the "-tooltip" parameter. For example: A2-tooltip would set a custom tooltip for item A2.

Each item excluding "output" are not linked by default. It can be linked by setting the "-link" parameter. For example: Setting A2-link to "Apricorn" would set the link of item A2 to [[Apricorn]].

{{CraftingInterface
| A1 = 
| A2 = 
| A3 = 
| B1 = 
| B2 = 
| B3 = 
| C1 =
| C2 =
| C3 =
| output = | output-count = | output-link =
}}

Usage

{{CraftingInterface
| A3 = {{ItemSlot| item = Copper Ingot | link = Apricorn}}
| B1 = {{ItemSlot| item = Copper Ingot | tooltip = Ingot}}
| B2 = {{ItemSlot| item = Copper Ingot}}
| B3 = {{ItemSlot| item = Iron Ingot}}
| C1 = {{ItemSlot| item = Iron Ingot}}
| C2 = {{ItemSlot| item = Iron Ingot}}
| C3 = {{ItemSlot| item = Iron Ingot}}
| output = {{ItemSlot| item = Healing Machine | link = PC | tooltip = Link Cable | amount = 4}}
}}

produces:

Copper Ingot.png
Copper Ingot
Copper Ingot.png
Ingot
Copper Ingot.png
Copper Ingot
Iron Ingot.png
Iron Ingot
Iron Ingot.png
Iron Ingot
Iron Ingot.png
Iron Ingot
Iron Ingot.png
Iron Ingot
Healing Machine.png
4Link Cable


Optional Parameters

| shapeless = true