Documentation for this module may be created at Module:ArgConcat/doc
return {
concat = function(frame)
local modified = {}
local template = frame.args.wrap_with or '$$'
for _, v in ipairs(frame:getParent().args) do
table.insert(modified, template:gsub("%$%$", v))
end
return table.concat(modified, frame.args.joiner or ", ")
end
}