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...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | |||
==Example Usage== | |||
<pre> | |||
{{InputInterface | |||
| iteminput = File:link cable.png | iteminputtooltip = Link Cable | iteminputlink = Link Cable | |||
| itemresult = File:healing machine.png | itemresulttooltip = Healing Machine | itemresultlink = Healing Machine | |||
}} | |||
</pre> | |||
==Example Result== | |||
{{InputInterface | |||
| iteminput = File:link cable.png | iteminputtooltip = Link Cable | iteminputlink = Link Cable | |||
| itemresult = File:healing machine.png | itemresulttooltip = Healing Machine | itemresultlink = Healing Machine | |||
}} | |||
</noinclude> | |||
<includeonly> | |||
<div class="interface input-interface"> | <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 class="item-slot">{{#if:{{{iteminput|}}}|[[File:{{PAGENAME:{{{iteminput}}}}}|link={{#if:{{{iteminputlink|}}}|{{PAGENAME:{{{iteminputlink}}}}}}}]]{{#if:{{{iteminputtooltip|}}}|<span class="item-tooltip">{{{iteminputtooltip}}}</span>}}}} | ||
Line 4: | Line 20: | ||
<div class="item-slot item-slot-large">{{#if:{{{itemresult|}}}|[[File:{{PAGENAME:{{{itemresult}}}}}|link={{#if:{{{itemresultlink|}}}|{{PAGENAME:{{{itemresultlink}}}}}}}]]{{#if:{{{itemresultcount|}}}|<span class="item-slot-count">{{{itemresultcount}}}</span>}}{{#if:{{{itemresulttooltip|}}}|<span class="item-tooltip">{{{itemresulttooltip}}}</span>}}}}</div> | <div class="item-slot item-slot-large">{{#if:{{{itemresult|}}}|[[File:{{PAGENAME:{{{itemresult}}}}}|link={{#if:{{{itemresultlink|}}}|{{PAGENAME:{{{itemresultlink}}}}}}}]]{{#if:{{{itemresultcount|}}}|<span class="item-slot-count">{{{itemresultcount}}}</span>}}{{#if:{{{itemresulttooltip|}}}|<span class="item-tooltip">{{{itemresulttooltip}}}</span>}}}}</div> | ||
</div> | </div> | ||
</includeonly> |
Revision as of 22:54, 17 March 2023
Example Usage
{{InputInterface | iteminput = File:link cable.png | iteminputtooltip = Link Cable | iteminputlink = Link Cable | itemresult = File:healing machine.png | itemresulttooltip = Healing Machine | itemresultlink = Healing Machine }}
Example Result
File:Link cable.pngLink Cable
File:Healing machine.pngHealing Machine