Module:Documentation: Difference between revisions

add some newlines to make the html slightly more readable
(check for type of cfg messages rather than just for nil)
(add some newlines to make the html slightly more readable)
Line 117:
.attr('id', formatMessage('mainDivId', 'string'))
.addClass(formatMessage('mainDivClasses', 'string'))
.newline()
.wikitext(p._startBox(args))
.wikitext(p._content(args))
.tag('div')
.css('clear', 'both') -- So right or left floating items don't stick out of the doc box.
.newline()
.done()
.done()
.wikitext(p._endBox(args))
.newline()
.wikitext(p.addTrackingCategories())
return tostring(root)
Line 204 ⟶ 207:
.css('border-bottom', '1px solid #aaa')
.css('margin-bottom', '1ex')
.newline()
 
-- Make the heading.