Module:List

local p = {}

p.list = function(frame) local items = {} table.insert(items, "" .. frame.args[1] .. " " .. frame.args[2] .. "") for i, arg in ipairs(frame.args) do		if i > 2 and string.len(arg) > 0 then table.insert(items, "" .. arg .. "") end end return table.concat(items, ", ") end

return p