Module:Test: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 7: Line 7:
local p ={}
local p ={}
function p.Main(frame)
function p.Main(frame)
return string.find ( frame.args[1] , '~~~~' ) ~= nil
return string.find ( frame.args[1] , '~~~~' ) ~= nil .. frame.args[1]
end
end
return p
return p

Revision as of 09:36, 19 April 2021

--[[ This is a test page for testing lua in mediawiki
place your code below this comment
please remove when you are done testing,
Thank You! and have fun
]]

local p ={}
function p.Main(frame)
	return string.find ( frame.args[1] , '~~~~' ) ~= nil .. frame.args[1]
end
return p