Template:CraftingInterface: Difference between revisions
(made tooltip optional, tooltip will automatically be added) |
No edit summary Tag: Manual revert |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="interface crafting-interface"> | <div class="interface crafting-interface"> | ||
Line 53: | Line 23: | ||
{{#if:{{{shapeless|}}}|<div class="shapeless-mark" title="This recipe is shapeless, items can be placed in any arrangement for this recipe">⭍</div>}} | {{#if:{{{shapeless|}}}|<div class="shapeless-mark" title="This recipe is shapeless, items can be placed in any arrangement for this recipe">⭍</div>}} | ||
</div> | </div> | ||
</includeonly> | </includeonly><noinclude> | ||
{{documentation}} | |||
</noinclude> |
Latest revision as of 02:16, 14 October 2023
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:
Optional Parameters
| shapeless = true
[view | edit | history | purge]The above documentation is transcluded from Template:CraftingInterface/doc.