Module:Documentation: Difference between revisions

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


-- Make the heading.
-- Make the heading.
Anonymous user