Difference between revisions of "Template:SplitLinks"

From Culture.si
(Created page with "{{#arr:loop |k=v |{{#arr:split|{{{1}}}|\s*,\s*}} |each = [[{{{v}}}]] |notlast=, }}")
 
Line 1: Line 1:
 
{{#arr:loop
 
{{#arr:loop
 
|k=v
 
|k=v
|{{#arr:split|{{{1}}}|\s*,\s*}}
+
|{{#arr:split|{{{1|}}}|\s*,\s*}}
|each = [[{{{v}}}]]
+
|notlast={{#if:{{{v}}}|[[{{{v}}}]]}}, 
|notlast=, 
+
|last={{#if:{{{v}}}|[[{{{v}}}]]}}
 
}}
 
}}

Revision as of 00:19, 22 December 2016