Template:Consecutive links: Difference between revisions

m
no edit summary
(Created page with "<includeonly>{{#invoke: consecutive links | parse |{{{1}}}|{{{2|, }}}}}</includeonly><noinclude>Category:Templates Template that allows auto linking of a list by a specif...")
 
mNo edit summary
Line 1: Line 1:
<includeonly>{{#invoke: consecutive links | parse |{{{1}}}|{{{2|, }}}}}</includeonly><noinclude>[[Category:Templates]]
<includeonly>{{#invoke: consecutive links | parse |{{{1}}}|{{{2|,}}}|{{{3|, }}}}}</includeonly><noinclude>[[Category:Templates]]


Template that allows auto linking of a list by a specified delimiter.Usage:
Template that allows auto linking of a list by a specified delimiter.Usage:


<code><nowiki>{{Consecutive links|Joppa, Kyakukya, Grit Gate|, }}</nowiki></code>
<code><nowiki>{{Consecutive links|Joppa, Kyakukya, Grit Gate}}</nowiki></code>


{{Consecutive links|Joppa, Kyakukya, Grit Gate|,}}
{{Consecutive links|Joppa, Kyakukya, Grit Gate}}


The delimiter defaults to <code>, </code> (comma and space) if not specified. if that wants to change, then a delimiter can be specified in a second argument:  
The delimiter defaults to <code>,</code>(ignoring white space) if not specified, and splits it by <code>, </code> if that wants to change, then a delimiter can be specified in a second argument:  


<code><nowiki>{{Consecutive links|Joppa/Kyakukya/Grit Gate|/}}</nowiki></code>
<code><nowiki>{{Consecutive links|Joppa/Kyakukya/Grit Gate|/|/}}</nowiki></code>


{{Consecutive links|Joppa/Kyakukya/Grit Gate|/}}</noinclude>
{{Consecutive links|Joppa/Kyakukya/Grit Gate|/|/}}</noinclude>