Template:ItemTargets: Difference between revisions
Jump to navigation
Jump to search
(created template) |
(reworked template) |
||
Line 1: | Line 1: | ||
{{# | {{#vardefine:i|0}}{{#while: | ||
|{{#vardefineecho:val|{{#explode:{{{1|}}}|,|{{#var:i}}}}}} | |||
|{{ItemTarget|{{#var: val}}}}{{#if:{{#explode:{{{1|}}}|,|{{#expr:{{#var:i}}+1}}}}|, <nowiki/>}} | |||
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | |||
}} | }} |