Template:CraftingInterface: Difference between revisions

mNo edit summary
mNo edit summary
Line 24: Line 24:
| row3item3 = File:iron ingot.png | row3item3tooltip = Iron Ingot
| row3item3 = File:iron ingot.png | row3item3tooltip = Iron Ingot
| itemresult = File:healing machine.png | itemresultcount = 4 | itemresulttooltip = Healing Machine | itemresultlink = Healing Machine
| itemresult = File:healing machine.png | itemresultcount = 4 | itemresulttooltip = Healing Machine | itemresultlink = Healing Machine
| shapeless
}}
}}
</noinclude>
</noinclude>
Line 48: Line 49:
       <div class="item-slot item-slot-large">{{#if:{{{itemresult|}}}|[[File:{{PAGENAME:{{{itemresult}}}}}|link={{#if:{{{itemresultlink|}}}|{{PAGENAME:{{{itemresultlink}}}}}}}]]{{#if:{{{itemresultcount|}}}|<span class="item-slot-count">{{{itemresultcount}}}</span>}}{{#if:{{{itemresulttooltip|}}}|<span class="item-tooltip">{{{itemresulttooltip}}}</span>}}}}</div>
       <div class="item-slot item-slot-large">{{#if:{{{itemresult|}}}|[[File:{{PAGENAME:{{{itemresult}}}}}|link={{#if:{{{itemresultlink|}}}|{{PAGENAME:{{{itemresultlink}}}}}}}]]{{#if:{{{itemresultcount|}}}|<span class="item-slot-count">{{{itemresultcount}}}</span>}}{{#if:{{{itemresulttooltip|}}}|<span class="item-tooltip">{{{itemresulttooltip}}}</span>}}}}</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>

Revision as of 22:28, 17 March 2023

Example Usage

{{CraftingInterface
| row1item3 = File:iron ingot.png | row1item3tooltip = Iron Ingot | row1item3link = Apricorn
| row2item1 = File:copper ingot.png | row2item1tooltip = Copper Ingot
| row2item2 = File:copper ingot.png | row2item2tooltip = Copper Ingot
| row2item3 = File:iron ingot.png | row2item3tooltip = Iron Ingot
| row3item1 = File:iron ingot.png | row3item1tooltip = Iron Ingot
| row3item2 = File:iron ingot.png | row3item2tooltip = Iron Ingot
| row3item3 = File:iron ingot.png | row3item3tooltip = Iron Ingot
| itemresult = File:healing machine.png | itemresultcount = 4 | itemresulttooltip = Healing Machine | itemresultlink = Healing Machine
}}

Example Result