Module:Sandbox/CAS222222221: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
localreturn function core(a)
local getArgs = require('Module:Arguments').getArgs
local pdiv = {}mw.html.create('div')
 
local function core(a)
if a == nil then return '' end
div
a = '<b>' .. a .. '</b>'
:class('notice dablink')
:css('font-size', 'small')
return a
:wikitext('-{' .. (a or '') .. '}-')
end
 
return p._maintostring(argsdiv)
function p.main(frame)
local args = getArgs(frame)
return p._main(args)
end
 
function p._main(args)
-- Main module code goes here.
return core(args[1])
end
 
return p