Module:Itemlist

local getArgs = require('Module:Arguments').getArgs local p = {}

function p.main(frame) local args = getArgs(frame) return p._main(args) end

function p._main(args)

local text = args["text"] or "Box items:" local i = 0 local list = {}

for _, arg in pairs(args) do		i = i+1 local item = args[i] table.insert(list, "*"..item) end

list = table.concat(list, "\n") return list

end return p

-- print(p.main)