Module:Imahero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
local p = {} --p stands for package
local p = {} --p stands for package


function p.hello(frame, name)
function p.hello(frame)
     return "Hello " .. name .. "!"  
return mw.site.server
     -- return "Hello " .. frame.args.name .. "!"  
end
end


return p
return p

Latest revision as of 09:04, 4 September 2024

See usage on user:imahero/test.


local p = {} --p stands for package

function p.hello(frame)
	return mw.site.server
    -- return "Hello " .. frame.args.name .. "!" 
end

return p