Difference between revisions of "Template:Transient icon result format"

Is this what the cool kids do now
(Is this what the cool kids do now)
Line 1: Line 1:
<includeonly>{{#if: <!-- define vars -->
<includeonly>{{#if: <!-- define vars -->


{{#vardefine:transient icon result format frame|{{#if:{{{userparam|}}}|
{{#vardefine:transient icon result format frame|{{#if:{{{#userparam|}}}|
{{#explode:{{#explode:{{{userparam}}}|,|0}}|=|1}}
{{#explode:{{#explode:{{{#userparam}}}|,|0}}|=|1}}
|n}}
|n}}
}}
}}


{{#vardefine:transient icon result format size|{{#if:{{{userparam|}}}|
{{#vardefine:transient icon result format size|{{#if:{{{#userparam|}}}|
{{#explode:{{#explode:{{{userparam}}}|,|1}}|=|1}}
{{#explode:{{#explode:{{{#userparam}}}|,|1}}|=|1}}
|small}}
|small}}
}}
}}


{{#vardefine:transient icon result format link|{{#if:{{{userparam|}}}|
{{#vardefine:transient icon result format link|{{#if:{{{#userparam|}}}|
{{#explode:{{#explode:{{{userparam}}}|,|2}}|=|1}}
{{#explode:{{#explode:{{{#userparam}}}|,|2}}|=|1}}
|}}
|}}
}}
}}


{{#vardefine:transient icon result format show name|{{#if:{{{userparam|}}}|
{{#vardefine:transient icon result format show name|{{#if:{{{#userparam|}}}|
{{#explode:{{#explode:{{{userparam}}}|,|3}}|=|1}}
{{#explode:{{#explode:{{{#userparam}}}|,|3}}|=|1}}
|n}}
|n}}
}}
}}


{{#vardefine:transient icon result format skin|{{#if:{{{userparam|}}}|
{{#vardefine:transient icon result format skin|{{#if:{{{#userparam|}}}|
{{#explode:{{#explode:{{{userparam}}}|,|4}}|=|1}}
{{#explode:{{#explode:{{{#userparam}}}|,|4}}|=|1}}
|}}
|}}
}}
}}
trusted
5,920

edits