Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
10,686
edits
Line 14: | Line 14: | ||
{{#explode:{{#explode:{{{userparam}}}|,|2}}|=|1}} | {{#explode:{{#explode:{{{userparam}}}|,|2}}|=|1}} | ||
|y}} | |y}} | ||
}} | |||
{{#vardefine:item display name|{{{?Has English name}}}}} | |||
{{#ifeq:{{#var:item display name|}}|| | |||
{{#vardefine:item display name|{{{?Has Japanese name}}}}} | |||
}} | }} | ||
Line 21: | Line 26: | ||
| 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"}}|[[{{{?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}}}">{{ | |#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 == | ||
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]]. |