Module:Sandbox/CAS222222221: Difference between revisions

Content deleted Content added
No edit summary
Replace Module:No globals with require( "strict" )
 
(28 intermediate revisions by 2 users not shown)
Line 1:
require('strict')
return function (a)
 
local div = mw.html.create('div')
local getArgs = require('Module:Arguments').getArgs
local p = {}
div
 
:class('notice dablink')
function p.main(frame)
:css('font-size', 'small')
local args = getArgs(frame)
:wikitext('-{' .. (a or '') .. '}-')
return tostringp._main(divargs)
return tostring(div)
end
 
function p._main(args)
-- Main module code goes here.
end
 
return p