Module:Sandbox/Srflp

-- srflp Google Code-in 2017, Introduction to Lua in Wikipedia -- [Lua task #03] Create your own Lua module on English Wikipedia

local p = {}

function p.hello(frame) return "Hello, world!" end

p.Hi = function(frame) strName = frame.args.name or "Jimbo" return "Hello from Lua to my friend " .. strName .. ". " end

return p