Module:Sandbox/CAS222222221: Difference between revisions

Content deleted Content added
No edit summary
Replace Module:No globals with require( "strict" )
 
(30 intermediate revisions by 2 users not shown)
Line 1:
require('strict')
 
local getArgs = require('Module:Arguments').getArgs
local p = {}
 
local function core(a)
if a == nil then return end
a = '<b>' .. a .. '</b>'
return a
end
 
function p.main(frame)
Line 17 ⟶ 11:
function p._main(args)
-- Main module code goes here.
return core(args[1])
end