Module:TableGenerator: Difference between revisions

Sur (talk | contribs)
m typo in func name
Sur (talk | contribs)
m Undo revision 5127 by Sur (talk)
Tag: Undo
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.generateHtmlTable(frame)
function p.createHtmlTable(frame)
     local args = frame.args
     local args = frame.args
     local cols = tonumber(args['cols']) or 3
     local cols = tonumber(args['cols']) or 3