Difference between revisions of "Template:Transient icon result format"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#if: <!-- define vars --> {{#vardefine:companion icon result format frame|{{#if:{{{userparam|}}}| {{#explode:{{#explode:{{{userparam}}}|,|0}}|=|1}} |n}} }} {{...") |
|||
Line 34: | Line 34: | ||
[[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}]] [[{{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}|{{{?Has English name}}} {{#ifeq:{{{?Has variant|}}} | Standard | | ({{{?Has variant}}})}}]] | [[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}]] [[{{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}|{{{?Has English name}}} {{#ifeq:{{{?Has variant|}}} | Standard | | ({{{?Has variant}}})}}]] | ||
|<span style="position: relative; display: inline-block; width: 20px; height: 20px | |<span style="position: relative; display: inline-block; width: 20px; height: 20px;"><span style="position: absolute;">[[File:{{Element|{{{?Has element|None}}}}} element icon.png|20x20px|link={{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}]]</span><span style="position:absolute; top: 0px; left: 0px;">[[File:{{Weapon type|{{{?Has weapon type|None}}}}} weapon icon.png|20x20px|link={{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}]]</span></span>[[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}]] [[{{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}|{{{?Has English name}}} {{#ifeq:{{{?Has variant|}}} | Standard | | ({{{?Has variant}}})}}]] | ||
}} | }} | ||
Revision as of 21:21, 28 April 2017
Description
This template creates a companion icoon using query results. Used by Template:Companion icon.