Module:Sandbox/AngC10
Appearance
--AngC10 Google Code-in, Introduction to Lua in Wikipedia
--AngC10 Google Code-in, Working with Modules
local p = {} -- p stands for package
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 .. ".<br>"
end
return p