Module:MyModule: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(for testing purposes.)
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
-- Module:MyModule
local p = {} --p stands for package


local p = {}
function p.hello( frame )
 
     return "Hello, world!"
function p.add(a, b)
     return a + b
end
end


return p
return p

Latest revision as of 16:42, 7 October 2023

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

local p = {} --p stands for package

function p.hello( frame )
    return "Hello, world!"
end

return p