Difference between revisions of "Template:SplitLinks"
(Created page with "{{#arr:loop |k=v |{{#arr:split|{{{1}}}|\s*,\s*}} |each = [[{{{v}}}]] |notlast=, }}") |
|||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{#arr:loop | + | {{{links={{#arr:split|{{{2|}}}|\s*(,\s*)+}}}}} {{#if:{{#arr:get|{{{links}}}|0}} |
+ | |{{{1|}}} {{#arr:loop | ||
|k=v | |k=v | ||
− | |{{ | + | |{{{links}}} |
|each = [[{{{v}}}]] | |each = [[{{{v}}}]] | ||
|notlast=,  | |notlast=,  | ||
− | }} | + | }}}} |