Jump to content

Module:User:Doc Taxon/Hello

From Wikipedia, the free encyclopedia
local p = {} 
function p.hello(frame)
    local name = frame.args[1]
    if not name then 
        name = 'World' 
    end
    local u = ""
    for i = 1, 5 do
    	u = u .. '\n\n' .. i .. ': Hello ' .. name .. '! This is Lua!' 
	end
    return u
end 
return p