Module:Message box: Difference between revisions

    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('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