Jump to content

Module:HELLO2

Unchecked
From Wikipedia

Documentation for this module may be created at Module:HELLO2/doc

local p = {}

function p.world(frame)
    local foo = "Hello, world!"
    local arg1 = frame.args[1]
    local arg2 = frame.args[2]
    if arg1 ~= nil then foo = foo .. " My " .. arg1 end
    if arg2 ~= nil then foo = foo .. " is " .. arg2 end
    return foo
end

return p