Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Test

From ProleWiki, the proletarian encyclopedia
Revision as of 00:39, 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(table.concat(num))
	end
end
return p