(wip?)
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This template is used to create a grid that looks similar to the Crafting Table's GUI screen.  
This template represents the Crafting Table interface.  
__TOC__
__TOC__
== Notes ==
==Notes==
Each item can have a custom tooltip by setting the "-tooltip" parameter.
Each item can be displayed using the [[Template:ItemSlot]].
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: if A2-link was "Apricorn", it would set a link item A2 to <nowiki>[[Apricorn]]</nowiki>.


<pre>{{CraftingInterface
<pre>{{CraftingInterface
| A1 =  
| A1 = {{ItemSlot}}
| A2 =  
| A2 = {{ItemSlot}}
| A3 =  
| A3 = {{ItemSlot}}
| B1 =  
| B1 = {{ItemSlot}}
| B2 =  
| B2 = {{ItemSlot}}
| B3 =  
| B3 = {{ItemSlot}}
| C1 =
| C1 = {{ItemSlot}}
| C2 =
| C2 = {{ItemSlot}}
| C3 =
| C3 = {{ItemSlot}}
| output = | output-count = | output-link =
| output = {{ItemSlot}}
}}</pre>
}}</pre>


Line 24: Line 20:
<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>

Latest revision as of 16:23, 27 November 2025

This template represents the Crafting Table interface.

Notes

Each item can be displayed using the Template:ItemSlot.

{{CraftingInterface
| A1 = {{ItemSlot}}
| A2 = {{ItemSlot}}
| A3 = {{ItemSlot}}
| B1 = {{ItemSlot}}
| B2 = {{ItemSlot}}
| B3 = {{ItemSlot}}
| C1 = {{ItemSlot}}
| C2 = {{ItemSlot}}
| C3 = {{ItemSlot}}
| output = {{ItemSlot}}
}}

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