Module:Test3: Difference between revisions

From ProleWiki, the proletarian encyclopedia
(Creating test module to test key, value pairs when no key is given (created another one to preserve the others))
(No difference)

Revision as of 00:30, 27 April 2024

local p = {}

function p.main(frame)
	local args = frame:getParent().args
	local String = ''
	for k,v in pairs(args) do
		String = String .. 'key = ' .. k .. ', value = ' .. v .. '\n'
	end
	return String
end
return p