Template:SmeltingInterface: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<div class="smelting-interface"> | <div class="interface smelting-interface"> | ||
<div class="smelting-interface-input"> | <div class="smelting-interface-input"> | ||
<div class="item-slot">{{#if:{{{iteminput|}}}|[[File:{{PAGENAME:{{{iteminput}}}}}|link={{#if:{{{iteminputlink|}}}|{{PAGENAME:{{{iteminputlink}}}}}}}]]{{#if:{{{iteminputtooltip|}}}|<span class="item-tooltip">{{{iteminputtooltip}}}</span>}}}}</div> | <div class="item-slot">{{#if:{{{iteminput|}}}|[[File:{{PAGENAME:{{{iteminput}}}}}|link={{#if:{{{iteminputlink|}}}|{{PAGENAME:{{{iteminputlink}}}}}}}]]{{#if:{{{iteminputtooltip|}}}|<span class="item-tooltip">{{{iteminputtooltip}}}</span>}}}}</div> |
Revision as of 22:38, 17 March 2023
Example Usage
{{SmeltingInterface | iteminput = File:link cable.png | iteminputtooltip = Link Cable | iteminputlink = Link Cable | itemresult = File:healing machine.png | itemresulttooltip = Healing Machine | itemresultlink = Healing Machine }}
Example Result
File:Link cable.pngLink Cable
Fuel
File:Healing machine.pngHealing Machine
Optional Parameters
| itemfuel = File:apricorn log.png | itemfueltooltip = Apricorn Log | itemfuellink = Apricorn Log