trusted
5,929
edits
SurtrFan8511 (talk | contribs) (we lazy) |
|||
Line 23: | Line 23: | ||
}}<!-- end vardefine -->{{#switch:{{#var:item icon result format size}} | }}<!-- end vardefine -->{{#switch:{{#var:item icon result format size}} | ||
| medium = {{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{lc:{{{?Has filename}}}}}.png|width="50"|height="50"}}|[[{{{?Has icon|File:Unknown icon.png}}}|50x50px|link={{#var:item icon result format link|{{{?Item icon subobject|}}}}}]]}} | | medium = {{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{lc:{{{?Has filename}}}}}.png|width="50"|height="50"|loading=lazy}}|[[{{{?Has icon|File:Unknown icon.png}}}|50x50px|link={{#var:item icon result format link|{{{?Item icon subobject|}}}}}]]}} | ||
| large = {{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{lc:{{{?Has filename}}}}}.png|width="116"|height="116"}}|[[{{{?Has icon|File:Unknown icon.png}}}|link={{#var:item icon result format link|{{{?Item icon subobject|}}}}}]]}} | | large = {{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{lc:{{{?Has filename}}}}}.png|width="116"|height="116"|loading=lazy}}|[[{{{?Has icon|File:Unknown icon.png}}}|link={{#var:item icon result format link|{{{?Item icon subobject|}}}}}]]}} | ||
| small | | small | ||
|#default = {{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{lc:{{{?Has filename}}}}}.png|width="20"|height="20"}}|[[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:item icon result format link|{{{?Item icon subobject|}}}}}]]}}{{#ifeq: {{#var:item icon result format show name}}|y| <abbr title="{{{?Has description}}}">{{#var:item display name|Unknown item}}</abbr>}}}}</includeonly><noinclude>== Description == | |#default = {{#if:{{{?Has filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{lc:{{{?Has filename}}}}}.png|width="20"|height="20"|loading=lazy}}|[[{{{?Has icon|File:Unknown icon.png}}}|20x20px|link={{#var:item icon result format link|{{{?Item icon subobject|}}}}}]]}}{{#ifeq: {{#var:item icon result format show name}}|y| <abbr title="{{{?Has description}}}">{{#var:item display name|Unknown item}}</abbr>}}}}</includeonly><noinclude>== Description == | ||
This template creates a item icon using query results. Used by [[Template:Item icon]]. | This template creates a item icon using query results. Used by [[Template:Item icon]]. |