Module:Consecutive links

From Caves of Qud Wiki
Revision as of 18:37, 23 July 2019 by Teamtoto (talk | contribs) (i can't spell)
Jump to navigation Jump to search

local p = {}

function p.parse(frame)
local separator = frame.args[2]
local b = string.gsub(frame.args[1], separator, "]]" .. separator .. "[[")
return "[[".. b .. "]]"
end
return p