Template:SmeltingInterface: Difference between revisions
(Created page with "<div class="smelting-interface"> <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:{{{itemfuel|}}}|File:{{PAGENAME:{{{itemfuel}}}}}|link={{#if:{{{itemfuellink|}}}|{{PAGENAME:{{{itemfuellink}}}}}...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | |||
==Example Usage== | |||
<pre> | |||
{{SmeltingInterface | |||
| iteminput = File:link cable.png | iteminputtooltip = Link Cable | iteminputlink = Link Cable | |||
| itemresult = File:healing machine.png | itemresulttooltip = Healing Machine | itemresultlink = Healing Machine | |||
}} | |||
</pre> | |||
==Example Result== | |||
{{SmeltingInterface | |||
| iteminput = File:link cable.png | iteminputtooltip = Link Cable | iteminputlink = Link Cable | |||
| itemresult = File:healing machine.png | itemresulttooltip = Healing Machine | itemresultlink = Healing Machine | |||
}} | |||
==Optional Parameters== | |||
<code>| itemfuel = File:apricorn log.png | itemfueltooltip = Apricorn Log | itemfuellink = Apricorn Log</code> | |||
</noinclude> | |||
<includeonly> | |||
<div class="smelting-interface"> | <div class="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> | ||
<div class="item-slot">{{#if:{{{itemfuel|}}}|[[File:{{PAGENAME:{{{itemfuel}}}}}|link={{#if:{{{itemfuellink|}}}|{{PAGENAME:{{{itemfuellink}}}}}}}]]{{#if:{{{itemfueltooltip|}}}|<span class="item-tooltip">{{{itemfueltooltip}}}</span>}}}}</div> | <div class="item-slot">{{#if:{{{itemfuel|}}}|[[File:{{PAGENAME:{{{itemfuel}}}}}|link={{#if:{{{itemfuellink|}}}|{{PAGENAME:{{{itemfuellink}}}}}}}]]{{#if:{{{itemfueltooltip|}}}|<span class="item-tooltip">{{{itemfueltooltip}}}</span>}}|[[File:coal.png|link=]]<span class="item-tooltip">Fuel</span>}}</div> | ||
</div> | </div> | ||
<div class="smelting-interface-result"> | <div class="smelting-interface-result"> | ||
Line 8: | Line 27: | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> |
Revision as of 15:01, 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