Documentation for this module may be created at Module:Jurta/sandbox1/doc

local p = {}

function p.div( frame )
	local div = mw.html.create( 'div' )
	div
		:attr( 'id', 'testdiv' )
		:css( 'width', '100%' )
		:wikitext( 'Some text' )
		:tag( 'hr' )
	return tostring( div )
end

return p