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}}}}}...") |
m (fix, now it's automatic) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="smelting-interface"> | <noinclude> | ||
==Example Usage== | |||
<pre> | |||
{{SmeltingInterface | |||
| input = Link Cable | input-link = Link Cable | |||
| output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine | |||
}} | |||
</pre> | |||
==Example Result== | |||
{{SmeltingInterface | |||
| input = Link Cable | input-link = Link Cable | |||
| output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine | |||
}} | |||
==Optional Parameters== | |||
<code>| fuel = Apricorn Log | fuel-tooltip = Apricorn Log | fuel-link = Apricorn Log</code> | |||
</noinclude> | |||
<includeonly> | |||
<div class="interface smelting-interface"> | |||
<div class="smelting-interface-input"> | <div class="smelting-interface-input"> | ||
<div class="item-slot">{{#if:{{{ | <div class="item-slot">{{#if:{{{input|}}}|[[File:{{PAGENAME:{{{input}}}.png}}|link={{#if:{{{input-link|}}}|{{PAGENAME:{{{input-link}}}}}}}]]{{#if:{{{input-tooltip|}}}}|<span class="item-tooltip">{{{input-tooltip|{{{input}}}}}}</span>}}}}</div> | ||
<div class="item-slot">{{#if:{{{ | <div class="item-slot">{{#if:{{{fuel|}}}|[[File:{{PAGENAME:{{{fuel}}}.png}}|link={{#if:{{{fuel-link|}}}|{{PAGENAME:{{{fuel-link}}}}}}}]]{{#if:{{{fuel-tooltip|}}}}|<span class="item-tooltip">{{{fuel-tooltip}}}</span>}}|[[File:Coal.png|link=]]<span class="item-tooltip">Fuel</span>}}</div> | ||
</div> | </div> | ||
<div class="smelting-interface-result"> | <div class="smelting-interface-result"> | ||
<div class="item-slot item-slot-large">{{#if:{{{ | <div class="item-slot item-slot-large">{{#if:{{{output|}}}|[[File:{{PAGENAME:{{{output}}}.png}}|link={{#if:{{{output-link|}}}|{{PAGENAME:{{{output-link}}}}}}}]]{{#if:{{{output-count|}}}|<span class="item-slot-count">{{{output-count}}}</span>}}{{#if:{{{output-tooltip|}}}}|<span class="item-tooltip">{{{output-tooltip|{{{output}}}}}}</span>}}}}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> |
Latest revision as of 15:48, 26 July 2023
Example Usage
{{SmeltingInterface | input = Link Cable | input-link = Link Cable | output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine }}
Example Result
Optional Parameters
| fuel = Apricorn Log | fuel-tooltip = Apricorn Log | fuel-link = Apricorn Log