Template:SmeltingInterface: Difference between revisions
No edit summary |
(should make tooltips show automatically without "-tooltip") |
||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
{{SmeltingInterface | {{SmeltingInterface | ||
| input | | input = Link Cable | input-link = Link Cable | ||
| output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine | | output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine | ||
}} | }} | ||
Line 10: | Line 10: | ||
==Example Result== | ==Example Result== | ||
{{SmeltingInterface | {{SmeltingInterface | ||
| input | | input = Link Cable | input-link = Link Cable | ||
| output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine | | output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine | ||
}} | }} | ||
Line 20: | Line 20: | ||
<div class="interface smelting-interface"> | <div class="interface smelting-interface"> | ||
<div class="smelting-interface-input"> | <div class="smelting-interface-input"> | ||
<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}}}</span>}}}}</div> | <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:{{{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 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:{{{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}}}</span>}}}}</div> | <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> |
Revision as of 15:46, 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