Module:Sandbox/Rafidaslam

-- Rafidaslam Google Code-in 2017, Introduction to Lua in Wikipedia -- Create your own Lua module on English Wikipedia [Lua step 3 of 3]

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