Difference between revisions of "Template:Item icon result format"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: <!-- define vars --> | <includeonly>{{#if: <!-- define vars --> | ||
{{#vardefine:item icon result format size|{{#if:{{{userparam|}}}| | {{#vardefine:item icon result format size|{{#if:{{{#userparam|}}}| | ||
{{#explode:{{#explode:{{{userparam}}}|,|0}}|=|1}} | {{#explode:{{#explode:{{{#userparam}}}|,|0}}|=|1}} | ||
|small}} | |small}} | ||
}} | }} | ||
{{#vardefine:item icon result format link|{{#if:{{{userparam|}}}| | {{#vardefine:item icon result format link|{{#if:{{{#userparam|}}}| | ||
{{#explode:{{#explode:{{{userparam}}}|,|1}}|=|1}} | {{#explode:{{#explode:{{{#userparam}}}|,|1}}|=|1}} | ||
|}} | |}} | ||
}} | }} | ||
{{#vardefine:item icon result format show name|{{#if:{{{userparam|}}}| | {{#vardefine:item icon result format show name|{{#if:{{{#userparam|}}}| | ||
{{#explode:{{#explode:{{{userparam}}}|,|2}}|=|1}} | {{#explode:{{#explode:{{{#userparam}}}|,|2}}|=|1}} | ||
|y}} | |y}} | ||
}} | }} |
Latest revision as of 05:30, 10 October 2021
Description
This template creates a item icon using query results. Used by Template:Item icon.