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

Module:Test: Difference between revisions

From ProleWiki, the proletarian encyclopedia
m (Testing relationship between Lua and MediaWiki)
m (More testing)
Line 2: Line 2:
function p.test(frame)
function p.test(frame)
local args = frame:getParent().args
local args = frame:getParent().args
return tostring(args)
for k,v in pairs(args) do
a = k .. " = " .. v .. " & "
return tostring(a)
end
end
end
return p
return p

Revision as of 00:28, 24 June 2022

local p = {}
function p.test(frame)
	local args = frame:getParent().args
	for k,v in pairs(args) do
		a = k .. " = " .. v .. " & "
	return tostring(a)
	end
end
return p