Template:CraftingInterface: Difference between revisions
(automatic output linking) |
No edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="interface crafting-interface"> | <div class="interface crafting-interface"> | ||
<div class="crafting-interface-ingredients"> | |||
<div class=" | <div class="item-slot-row"> | ||
{{#if: {{{A1|}}} | {{{A1}}} | <div class="item-slot"></div>}} | |||
{{#if: {{{A2|}}} | {{{A2}}} | <div class="item-slot"></div>}} | |||
{{#if: {{{A3|}}} | {{{A3}}} | <div class="item-slot"></div>}} | |||
</div> | </div> | ||
<div class=" | <div class="item-slot-row"> | ||
{{#if: {{{B1|}}} | {{{B1}}} | <div class="item-slot"></div>}} | |||
{{#if: {{{B2|}}} | {{{B2}}} | <div class="item-slot"></div>}} | |||
{{#if: {{{B3|}}} | {{{B3}}} | <div class="item-slot"></div>}} | |||
</div> | </div> | ||
<div class=" | <div class="item-slot-row"> | ||
{{#if: {{{C1|}}} | {{{C1}}} | <div class="item-slot"></div>}} | |||
{{#if: {{{C2|}}} | {{{C2}}} | <div class="item-slot"></div>}} | |||
{{#if: {{{C3|}}} | {{{C3}}} | <div class="item-slot"></div>}} | |||
</div> | </div> | ||
</div> | </div> | ||
<div class="crafting-interface-result"> | <div class="crafting-interface-result"> | ||
<div class="item-slot-output"> | |||
{{#if: {{{output|}}} | {{{output}}} | <div class="item-slot"></div>}} | |||
</div> | |||
</div> | </div> | ||
{{#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 16:21, 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:
Optional Parameters
| shapeless = true
[view | edit | history | purge]The above documentation is transcluded from Template:CraftingInterface/doc.