Jump to content

Module:Sandbox/sameboat: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
local p = {}
local p = {}
function p(frame)
function p.hello(frame)
local arg2 = frame.args[2] or ""
local arg2 = frame.args[2] or ""
return 'Hello, my ' .. frame.args[1] .. ' is ' ..arg2
return 'Hello, my ' .. frame.args[1] .. ' is ' ..arg2

Revision as of 09:17, 18 March 2013

local p = {}
function p.hello(frame)
    local arg2 = frame.args[2] or ""
    return 'Hello, my ' .. frame.args[1] .. ' is ' ..arg2
end
return p