Template:CraftingInterface

Revision as of 12:51, 8 July 2023 by Blob (talk | contribs) (temporarily adding documentation not using {{documentation}}, will do when it's fixed.)

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 = 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

[view | edit | history | purge]Documentation

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 = 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

[view | edit | history | purge]The above documentation is transcluded from Template:CraftingInterface/doc.