Module:Imahero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Undo revision 138269 by Imahero (talk))
Tag: Undo
No edit summary
Line 2: Line 2:


function p.hello(frame)
function p.hello(frame)
return frame:expandTemplate{title = 'tabtest'}
return frame:expandTemplate{title = 'project:EnabledTabs'}
     -- return "Hello " .. frame.args.name .. "!"  
     -- return "Hello " .. frame.args.name .. "!"  
end
end


return p
return p

Revision as of 08:46, 4 September 2024

See usage on user:imahero/test.


local p = {} --p stands for package

function p.hello(frame)
	return frame:expandTemplate{title = 'project:EnabledTabs'}
    -- return "Hello " .. frame.args.name .. "!" 
end

return p