Module:Sandbox/IPv4 Address/divtest

local p = {}

function p.getDiv(contents) local div = mw.html.create('div') div:attr('id', 'testdiv') div:attr('width', '100%') div:css('background-color', '#e0e0e0') div:css('border-style', 'solid') div:css('border-width', '1px') div:css('border-color', '#404040') div:wikitext('Test') div:tag('br') return tostring(div) end

return p