Difference between revisions of "Module:Module sandbox"

From Sunrust Wiki
Jump to navigation Jump to search
(Created page with "local p = {} --p stands for package function p.test( frame ) return frame.args.testval or 30 end return p")
 
Line 2: Line 2:
   
   
function p.test( frame )
function p.test( frame )
     return frame.args.testval or 30
     return frame.args.testval
end
end
   
   
return p
return p

Revision as of 18:42, 23 December 2021

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

local p = {} --p stands for package
 
function p.test( frame )
    return frame.args.testval
end
 
return p