Template:BrewingInterface: Difference between revisions
(testing) |
mNo edit summary |
||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
{{BrewingInterface | {{BrewingInterface | ||
| input = | | input = Healing Machine | input-tooltip = Healing Machine | input-link = Healing Machine | ||
| output = | | base = Medicinal Brew | base-tooltip = Medicinal Brew | base-link = Medicinal Brew | ||
| output = PC | output-tooltip = PC | output-link = PC | |||
}} | }} | ||
</pre> | </pre> | ||
Line 10: | Line 11: | ||
==Example Result== | ==Example Result== | ||
{{BrewingInterface | {{BrewingInterface | ||
| input = | | input = Healing Machine | input-tooltip = Healing Machine | input-link = Healing Machine | ||
| output = | | base = Medicinal Brew | base-tooltip = Medicinal Brew | base-link = Medicinal Brew | ||
| output = PC | output-tooltip = PC | output-link = PC | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<div class="interface brewing-interface"> | <div class="interface brewing-interface"> | ||
<div class="brewing-interface-input"> | <div class="brewing-interface-input"> | ||
<div class="input-row"> | |||
<div class="item-slot">{{#if:{{{base|}}}|[[File:{{PAGENAME:{{{base}}}.png}}|link={{#if:{{{base-link|}}}|{{PAGENAME:{{{base-link}}}}}}}]]{{#if:{{{base-tooltip|}}}}|<span class="item-tooltip">{{{base-tooltip|{{{base}}}}}}</span>}}}}</div> | |||
<div class="item-slot">{{#if:{{{base|}}}|[[File:{{PAGENAME:{{{base}}}.png}}|link={{#if:{{{base-link|}}}|{{PAGENAME:{{{base-link}}}}}}}]]{{#if:{{{base-tooltip|}}}}|<span class="item-tooltip">{{{base-tooltip|{{{base}}}}}}</span>}}}}</div> | |||
</div> | |||
<div class="input-column"> | |||
<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:{{{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:{{{base|}}}|[[File:{{PAGENAME:{{{base}}}.png}}|link={{#if:{{{base-link|}}}|{{PAGENAME:{{{base-link}}}}}}}]]{{#if:{{{base-tooltip|}}}}|<span class="item-tooltip">{{{base-tooltip|{{{base}}}}}}</span>}}}}</div> | ||
</div> | |||
</div> | |||
<div class="brewing-interface-result"> | <div class="brewing-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|{{{output}}}}}}</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> |
Latest revision as of 19:37, 13 October 2023
Example Usage
{{BrewingInterface | input = Healing Machine | input-tooltip = Healing Machine | input-link = Healing Machine | base = Medicinal Brew | base-tooltip = Medicinal Brew | base-link = Medicinal Brew | output = PC | output-tooltip = PC | output-link = PC }}
Example Result