Module:Test3

From ProleWiki, the proletarian encyclopedia
Revision as of 00:30, 27 April 2024 by Forte (talk | contribs) (Creating test module to test key, value pairs when no key is given (created another one to preserve the others))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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