Module:Test

From ProleWiki, the proletarian encyclopedia
Revision as of 00:51, 24 June 2022 by Forte (talk | contribs) (More testing)
local p = {}
function p.test(frame)
	local args = frame:getParent().args
	local num = {}
	for k,v in pairs(args) do
		local temnum = k:match('^parameter(%d+)$')
		if temnum then table.insert(num, tonumber(temnum))
		end
	return __tostring(num)
	end
end
return p