Template:ItemTargets: Difference between revisions

From Cithare Wiki
Jump to navigation Jump to search
(created template)
 
(reworked template)
 
Line 1: Line 1:
{{#fornumargs: number
{{#vardefine:i|0}}{{#while:
| value
|{{#vardefineecho:val|{{#explode:{{{1|}}}|,|{{#var:i}}}}}}
| {{ItemTarget|{{#var: value }}}}{{#if:{{{{{#expr:{{#var:number}}+1}}|}}}|, <nowiki/>}}
|{{ItemTarget|{{#var: val}}}}{{#if:{{#explode:{{{1|}}}|,|{{#expr:{{#var:i}}+1}}}}|, <nowiki/>}}
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
}}

Latest revision as of 18:46, 11 December 2020