Template:Consecutive links

Revision as of 15:23, 12 August 2019 by Egocarib (talk | contribs) (add support for prefix and postfix)


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

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

Joppa, Kyakukya, Grit Gate

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

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

Additionally, you can use the 4th and 5th parameters to specify an overall prefix and an overall postfix to the string that is returned.

Joppa/Kyakukya/Grit Gate