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.countArgs(frame)
p.countArgs = function(frame)
     local args = frame.args
     local arg = frame.args[1]
     return args[1]
     return arg
end
end
p.get_attr_category = function(frame)
local attr_name = frame.args[1]
return attr_name
end


return p
return p

Revision as of 03:02, 14 September 2024

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

local p = {}

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

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


return p