Wikipedia:Article message boxes/issuebox demo

Article message box demo
This is a demonstration and test page for the code for the article message boxes. The boxes use one single meta template which in turn uses some CSS classes for pretty much all their looks. The meta template uses default images if no image parameter is given and it has some other nifty features.

Most of the examples on this page have now been moved to the documentation of the meta template ambox.

CSS code
The CSS code for the article message boxes has now been added to MediaWiki:Common.css, which means it is now full deployed and can be used all over the English Wikipedia.

Note! Those of you who took part in the testing of this code:


 * If you added code to your monobook JS file you should now remove it. The code to remove is this:


 * If you added CSS code to your monobook.css you should now remove it. The code to remove is the code you see below.

For reference, here is the code that has been added to MediaWiki:Common.css. (Note, this code might not be up to date with what really runs at MediaWiki:Common.css.)

The meta template
The meta template that uses the CSS code above is at Template:Ambox. See examples and documentation there.

Technical details
The CSS classes can also be used directly in a wikitable. Like this:

Test area
Test area where we can play around.

Other testing
&lt;/nowiki>. And now a pipe + end braces &lt;nowiki>|}}&lt;/nowiki>. }}

. And now a pipe + end braces |}}. }}

Testing the CSS padding:

Testing transwiki colours and default images: