Difference between revisions of "Module:Sandbox"
Jump to navigation
Jump to search
(Undid revision 3204777 by 197.235.201.91 (talk)) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 05:51, 31 July 2020
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