Difference between revisions of "Module:Message box"

13 bytes removed ,  06:34, 27 April 2016
move the removal notice inline
>Mr. Stradivarius
(add a removalnotice parameter to ambox, don't display blank spans, and make the config module page a constant so it's easier to see)
>Mr. Stradivarius
(move the removal notice inline)
Line 513: Line 513:
end
end
if self.removalNotice then
if self.removalNotice then
textCellSpan:tag('div')
textCellSpan:tag('small')
:addClass('hide-when-compact')
:addClass('hide-when-compact')
:tag('ul')
:tag('i')
:tag('li')
:wikitext(string.format(" (%s)", self.removalNotice))
:tag('small')
:wikitext(self.removalNotice)
end
end
else
else
Anonymous user