Module:TableGenerator: Difference between revisions

Sur (talk | contribs)
m json arg
Sur (talk | contribs)
m typo in func name
Line 13: Line 13:
--Cell 1, Cell 2, Cell 3
--Cell 1, Cell 2, Cell 3
--Cell 4, Cell 5
--Cell 4, Cell 5
function p.createHtmlTable(frame)
function p.generateHtmlTable(frame)
     local args = frame.args
     local args = frame.args
     local cols = tonumber(args['cols']) or 3
     local cols = tonumber(args['cols']) or 3