Template:InputInterface: Difference between revisions

No edit summary
No edit summary
 
Line 4: Line 4:
{{InputInterface
{{InputInterface
| input = Link Cable | input-tooltip = Link Cable | input-link = Link Cable
| input = Link Cable | input-tooltip = Link Cable | input-link = Link Cable
| output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine
| output = Healing Machine | output-tooltip = PC | output-link = Healing Machine
}}
}}
</pre>
</pre>
Line 11: Line 11:
{{InputInterface
{{InputInterface
| input = Link Cable | input-tooltip = Link Cable | input-link = Link Cable
| input = Link Cable | input-tooltip = Link Cable | input-link = Link Cable
| output = Healing Machine | output-tooltip = Healing Machine | output-link = Healing Machine
| output = Healing Machine | output-tooltip = PC | output-link = Healing Machine
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<div class="interface input-interface">
<div class="interface input-interface">
   <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 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>
   <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>
</includeonly>
</includeonly>

Latest revision as of 16:04, 10 June 2023

Example Usage

{{InputInterface
| input = Link Cable | input-tooltip = Link Cable | input-link = Link Cable
| output = Healing Machine | output-tooltip = PC | output-link = Healing Machine
}}

Example Result

Link Cable.pngLink Cable
Healing Machine.pngPC