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

6026fb2ad7855d8e423a213f665faf25