MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 5: Line 5:
     if (cats && cats.indexOf('Archive') !== -1) {
     if (cats && cats.indexOf('Archive') !== -1) {
         $('.mw-parser-output').prepend(
         $('.mw-parser-output').prepend(
             '<div class="category-notice">This article is archived. It is either extremely out of date or no longer relevant. </div>'
             '<div class="category-notice">{| class="" style="padding: 0.5em; border-color: #AAAAAA #AAAAAA #AAAAAA #f00; border-style: solid; border-width: 1px 1px 1px 10px; margin: 0 10%;"
|'''IMPORTANT:''' This article is archived. It is either extremely out of date or no longer relevant.  
|}
</div>'
         );
         );
     }
     }
});
});

Navigation menu