Difference between revisions of "Template:Transient icon result format"
Jump to navigation
Jump to search
(mm) |
|||
Line 38: | Line 38: | ||
|#default = {{#ifeq:{{#var:companion icon result format frame}}|n| | |#default = {{#ifeq:{{#var:companion icon result format frame}}|n| | ||
[[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}]] | [[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}]] | ||
|<span style="position: relative; display: inline-block; width: 20px; height: 20px; vertical-align: top;"><span style="position: absolute; top: 0px; left: 0px">[[File:{{Energy|{{{?Has energy|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|}}}}}]]}} | |||
|<span style="position: relative; display: inline-block; width: 20px; height: 20px; vertical-align: top;"><span style="position: absolute; top: 0px; left: 0px">[[File:{{Energy|{{{?Has energy|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|}}}}}]] | |||
}} | |||
}}{{#ifeq: {{#var:companion icon result format show name}}|y| | }}{{#ifeq: {{#var:companion icon result format show name}}|y| | ||
 [[{{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}|{{{?Has English name}}} {{#ifeq:{{{?Has variant|}}} | Standard | | ({{{?Has variant}}})}}]] |  [[{{#var:companion icon result format link|{{{?Companion icon subobject|}}}}}|{{{?Has English name}}} {{#ifeq:{{{?Has variant|}}}|Standard||({{{?Has variant}}})}}]]}}</includeonly><noinclude>== Description == | ||
}}</includeonly><noinclude>== Description == | |||
This template creates a companion icoon using query results. Used by [[Template:Companion icon]]. | This template creates a companion icoon using query results. Used by [[Template:Companion icon]]. |
Revision as of 03:15, 6 June 2018
Description
This template creates a companion icoon using query results. Used by Template:Companion icon.