Difference between revisions of "Template:ExtractLinks"

From Culture.si
(Fix for multiple links. Fingers crossed!)
Line 1: Line 1:
{{#arr:split|{{#str:replace|{{{text|{{{1}}}}}}|^.*?\[\[([^\|]*).*?\]\].*?$|$1}}|(\{{!}}[^[]*)?]].*?\[\[}}
+
{{#arr:split|{{#str:replace|{{{text|{{{1}}}}}}|.*?\[\[([^\|]*).*?\]\]|$1\n}}|\n}}

Revision as of 18:58, 28 June 2017

26859d7225fda3f0a2e637193494da54