Template:SmeltingInterface: Difference between revisions
mNo edit summary |
m (fix, now it's automatic) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
{{SmeltingInterface | {{SmeltingInterface | ||
| | | input = Link Cable | input-link = Link Cable | ||
| | | output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine | ||
}} | }} | ||
</pre> | </pre> | ||
Line 10: | Line 10: | ||
==Example Result== | ==Example Result== | ||
{{SmeltingInterface | {{SmeltingInterface | ||
| | | input = Link Cable | input-link = Link Cable | ||
| | | output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine | ||
}} | }} | ||
==Optional Parameters== | ==Optional Parameters== | ||
<code>| | <code>| fuel = Apricorn Log | fuel-tooltip = Apricorn Log | fuel-link = Apricorn Log</code> | ||
</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:{{{ | <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> | </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