Module:TestModule

local export = {}

function export.gen(f) local res = ""

for i = 1, 999, 2 do		h = f.args[i] if h == nil then break end

v = f.args[i+1] if h ~= "" and v then local row = string.format("|-\n| Head %s | Value %s\n", h, v) res = res .. row end end

return res end

return export