Module:User:L10nM4st3r/experiment
Jump to navigation
Jump to search
local p = {}
p.hello = function( frame )
if frame.args[1] then
return "Hello, " .. frame.args[1] .. "!"
end
return "Hello, world!"
end
p.split = function( frame )
local split = mw.text.split(frame.args[1]," ")
local out = ""
for i in split do
if not(i=="test") then
out = out .. i
end
end
return out
end
return p;