Module:Test: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
m (Reverted edits by Q8j (talk) to last revision by Q8j-2)
Tag: Rollback
mNo edit summary
Line 5: Line 5:
]]
]]


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

Revision as of 09:34, 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
end
return p