Module:TableGenerator: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
mNo edit summary
Sur (talk | contribs)
mNo edit summary
Line 1: Line 1:
local p = {}
local p = {}


function p.generateTable(frame)
function p.countArgs(frame)
     local args = frame:getParent().args
     local args = frame.args
   
     return args[1]
   
     return #args
end
end


return p
return p

Revision as of 02:59, 14 September 2024

Documentation for this module may be created at Module:TableGenerator/doc

local p = {}

function p.countArgs(frame)
    local args = frame.args
    return args[1]
end

return p