Module:Test: Difference between revisions

From Test Wiki
Content deleted Content added
Q8j (talk | contribs)
No edit summary
Q8j (talk | contribs)
mNo 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) .. frame.args[1]
return mw.allToString(string.find ( frame.args[1] , '~~~~' ) ~= nil) .. frame.args[1]
end
end
return p
return p