Module:Sandbox
Documentation for this module may be created at Module:Sandbox/doc
local module = {}
function module.main(frame)
local arg = frame.args
local wikitext = arg['wikitext'] or '\'\'aaa\'\''
local div = mw.html.create('div')
div
:attr('id', 'testdiv')
:css('width', '100%')
:wikitext(wikitext)
:tag('hr')
return tostring(div)
end
return module