Module:Message box: Difference between revisions

use the same invalid type warning as the previous template
m>Mr. Stradivarius
(fix sect regression)
m>Mr. Stradivarius
(use the same invalid type warning as the previous template)
Line 504: Line 504:
         root
         root
             .tag('div')
             .tag('div')
                .addClass('error')
                 .css('text-align', 'center')
                 .css('text-align', 'center')
                 .wikitext(format('This message box is using an invalid type parameter (<code>type=%s</code>) and needs fixing.', self.type or ''))
                 .wikitext(format('This message box is using an invalid "type=%s" parameter and needs fixing.', self.type or ''))
     end
     end


Anonymous user