Template:InputInterface: Difference between revisions
(Created page with "<div class="interface input-interface"> <div class="item-slot">{{#if:{{{iteminput|}}}|[[File:{{PAGENAME:{{{iteminput}}}}}|link={{#if:{{{iteminputlink|}}}|{{PAGENAME:{{{iteminputlink}}}}}}}]]{{#if:{{{iteminputtooltip|}}}|<span class="item-tooltip">{{{iteminputtooltip}}}</span>}}}} </div> <div class="item-slot item-slot-large">{{#if:{{{itemresult|}}}|[[File:{{PAGENAME:{{{itemresult}}}}}|link={{#if:{{{itemresultlink|}}}|{{PAGENAME:{{{itemresultlink}}}}}}}]]{{#if:{{{it...") |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
==Example Usage== | |||
<pre> | |||
{{InputInterface | |||
| input = Link Cable | input-tooltip = Link Cable | input-link = Link Cable | |||
| output = Healing Machine | output-tooltip = PC | output-link = Healing Machine | |||
}} | |||
</pre> | |||
==Example Result== | |||
{{InputInterface | |||
| input = Link Cable | input-tooltip = Link Cable | input-link = Link Cable | |||
| output = Healing Machine | output-tooltip = PC | output-link = Healing Machine | |||
}} | |||
</noinclude> | |||
<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> |