Module:Sandbox/DMacks

local p = {}

function p.output local a = { {1, 2, "{<}", 4},   {"{^}", 6, "{<}", "{<}"},    {"{^}", 10, 11, 12},    {"{^}", "{^}", 15, 16}  }

local rc = "{|class=wikitable\n" for rowk, rowv in pairs(a) do   rc = rc.."|-\n" for colk, cell in pairs(rowv) do     rc = rc.."|row "..rowk..", col "..colk..": "..cell.."\n" end end rc = rc.."|}"

return rc end

return p