Module:LinkArray

-- Example usage: -- user links: -- diff links:

local p = {}

function p.main(f) local tbl = {} local arrayData = f.args[1] local prefix = f.args.prefix local delimiter = f.args.delimiter for k, v in ipairs(mw.text.split(arrayData, '%s*,%s*')) do tbl[k] =  .. mw.text.trim(v) ..  end return table.concat(tbl, delimiter) end

return p