Module:Table

local p = {}

function p._row(items) local result = '|-\n|' local numitems = #items for i, v in ipairs(items) do       result = result .. ' ' .. v       if i < numitems then result = result .. ' ||'       else result = result .. '\n' end end return result end

function p.row(frame) p._row(frame.args) end

return p