trusted
5,920
edits
SurtrFan8511 (talk | contribs) (Changed loading for the transient icons aswell) |
SurtrFan8511 (talk | contribs) m (Trying to fix the spaces issue) |
||
Line 38: | Line 38: | ||
}} | }} | ||
| small | | small | ||
|#default = {{#ifeq:{{#var:transient icon result format frame}}|n|{{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{#var:icon filename}}.png|width="20"|height="20"|loading=lazy}}|[[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:transient icon result format link|{{{?Transient 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:transient icon result format link|{{{?Transient icon subobject|}}}}}]]</span><span style="position:absolute; top: 0px; left: 0px;">[[File:{{Weapon type|{{{?Has weapon type|None}}}}} weapon icon.png|20x20px|link={{#var:transient icon result format link|{{{?Transient icon subobject|}}}}}]]</span></span>{{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{#var:icon filename}}.png|width="20"|height="20"|loading=lazy}}|[[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:transient icon result format link|{{{?Transient icon subobject|}}}}}]]}}}}}}{{#ifeq: {{#var:transient icon result format show name}}|y| [[{{#var:transient icon result format link|{{{?Transient icon subobject|}}}}}{{#if:{{{?Has English name|}}}|{{!}}{{{?Has English name}}}{{#ifeq:{{{?Has variant|}}}|Standard|| | |#default = {{#ifeq:{{#var:transient icon result format frame}}|n|{{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{#var:icon filename}}.png|width="20"|height="20"|loading=lazy}}|[[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:transient icon result format link|{{{?Transient 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:transient icon result format link|{{{?Transient icon subobject|}}}}}]]</span><span style="position:absolute; top: 0px; left: 0px;">[[File:{{Weapon type|{{{?Has weapon type|None}}}}} weapon icon.png|20x20px|link={{#var:transient icon result format link|{{{?Transient icon subobject|}}}}}]]</span></span>{{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{#var:icon filename}}.png|width="20"|height="20"|loading=lazy}}|[[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:transient icon result format link|{{{?Transient icon subobject|}}}}}]]}}}}}}{{#ifeq: {{#var:transient icon result format show name}}|y| [[{{#var:transient icon result format link|{{{?Transient icon subobject|}}}}}{{#if:{{{?Has English name|}}}|{{!}}{{{?Has English name}}}{{#ifeq:{{{?Has variant|}}}|Standard|| ({{{?Has variant}}})}}}}]]}}</includeonly><noinclude>== Description == | ||
This template creates a transient icon using query results. Used by [[Template:Transient icon]]. | This template creates a transient icon using query results. Used by [[Template:Transient icon]]. |