Difference between revisions of "Template:SplitLinks"
Line 6: | Line 6: | ||
|each = [[{{{v}}}]] | |each = [[{{{v}}}]] | ||
|notlast=,  | |notlast=,  | ||
+ | }} | ||
+ | }} | ||
+ | {{#if:{{{4|}}} | ||
+ | |{{{links={{#arr:split|{{{4|}}}|\s*(,\s*)+}}}}} | ||
+ | {{#if:{{#arr:get|{{{links}}}|0}} | ||
+ | |{{{3|}}} {{#arr:loop | ||
+ | |k=v | ||
+ | |{{{links}}} | ||
+ | |each = [[{{{v}}}]] | ||
+ | |notlast=,  | ||
+ | }} | ||
}} | }} | ||
}} | }} |
Revision as of 00:34, 22 December 2016