Module:Message box: Difference between revisions
move the removal notice inline
m>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) |
m>Mr. Stradivarius (move the removal notice inline) |
||
Line 513: | Line 513: | ||
end | end | ||
if self.removalNotice then | if self.removalNotice then | ||
textCellSpan:tag(' | textCellSpan:tag('small') | ||
:addClass('hide-when-compact') | :addClass('hide-when-compact') | ||
:tag(' | :tag('i') | ||
: | :wikitext(string.format(" (%s)", self.removalNotice)) | ||
end | end | ||
else | else |