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

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))
 
m (Testing)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


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

Latest revision as of 12:14, 27 April 2024

local p = {}

function p.main(frame)
	return frame:callParserFunction("REVISIONUSER")
end
return p