Module:CreateButton: Difference between revisions

From Seven Sages of Rome
(Created page with "local p = {} --p stands for package function p.hello( frame ) return "Hello, world!" end return p")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:


function p.hello( frame )
function p.hello( frame )
     return "Hello, world!"
     local wrapper = mw.html.create( 'html' )
return tostring( wrapper )
end
end


return p
return p

Latest revision as of 16:34, 12 February 2024

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

local p = {} --p stands for package

function p.hello( frame )
    local wrapper = mw.html.create( 'html' )
	return tostring( wrapper )
end

return p