Template:InputInterface: Difference between revisions
mNo edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
{{InputInterface | {{InputInterface | ||
| | | input = Link Cable | input-tooltip = Link Cable | input-link = Link Cable | ||
| | | output = Healing Machine | output-tooltip = PC | output-link = Healing Machine | ||
}} | }} | ||
</pre> | </pre> | ||
Line 10: | Line 10: | ||
==Example Result== | ==Example Result== | ||
{{InputInterface | {{InputInterface | ||
| | | input = Link Cable | input-tooltip = Link Cable | input-link = Link Cable | ||
| | | 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:{{{ | <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:{{{ | <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> |