Template:CraftingInterface/doc

< Template:CraftingInterface
Revision as of 12:33, 8 July 2023 by Blob (talk | contribs) (wip?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: if A2-link was "Apricorn", it would set a link item A2 to [[Apricorn]].

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

Usage

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

produces:

Iron Ingot.pngIron Ingot
Copper Ingot.pngGold Ingot
Copper Ingot.pngCopper Ingot
Iron Ingot.pngIron Ingot
Iron Ingot.pngIron Ingot
Iron Ingot.pngIron Ingot
Iron Ingot.pngIron Ingot
Healing Machine.png4Link Cable


Optional Parameters

| shapeless = true