Difference between revisions of "Module:Message box"
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(' | textCellSpan:tag('small') | ||
:addClass('hide-when-compact') | :addClass('hide-when-compact') | ||
:tag(' | :tag('i') | ||
: | :wikitext(string.format(" (%s)", self.removalNotice)) | ||
end | end | ||
else | else |