Wikipedia:Manual of Style/Article message boxes
| This guideline is a part of the English Wikipedia's Manual of Style. Use common sense in applying it; it will have occasional exceptions. Please ensure that any edits to this page reflect consensus. |
| This page in a nutshell: Article message boxes have a standard design and colours. They use CSS and a meta template to achieve this. |
| Manual of Style |
|---|
|
|
|
|
There is a standard and consistent design for article message boxes — templates which go at the top of articles/sections, and identify problems or issues with the article. The design was standardized and implemented in September 2007.
Contents |
[edit] Scope
The scope of this effort is the design of article message boxes ("amboxes"). Article message boxes are template messages, in a rectangular frame (box), which are placed in articles, and are also about articles. They identify issues or important information about the article, but are not part of the article content itself.
The following are presently outside the scope of this effort:
- The wording (text) inside article message boxes (present focus is on appearance/formatting)
- Other kinds of article templates, such as navigation boxes and infoboxes
- Talk page templates, which were standardised in 2005 by Wikipedia:Talk page templates
- Project namespace templates, used in the Wikipedia: namespace
[edit] Terminology
- Template: A page which is transcluded into other pages, typically to re-use the same content in multiple pages. See Help:Template.
- Message box: Any template that looks like a box and contains a specific message about a specific issue with a page, section, or other thing on Wikipedia.
- This is in contrast to templates which are used for info boxes, to automate processes, or any of the other myriad things templates are used for.
- Article message box: Message boxes about articles
- Info boxes, nav boxes, and such are part of an article, not about the article
- ambox: Short for "article message box"
[edit] Design
The ambox tags that we use to notify people of problems within an article are on thousands of our pages. Our readers see them and judgements are made not only about the article at hand, but about the project itself. In the past, we had a myriad of templates that often shared some level of consistency, but still looked very mismatched.
This effort aims to address these issues. Design principles include:
- Colour-coding is good, but avoid excess
- Coloured/shaded backgrounds can make text hard to read for some people, especially those with color-vision deficiencies
- Consistent widths make multiple adjacent amboxes easier to read
- This is a deliberate design effort, while the old templates evolved organically over time
- Easily implemented
- The use of CSS allows appearance customization/override on a per-user or per-skin basis
[edit] Categories and colours
| This section is the subject of a current discussion on the talk page. Please feel free to join in. This doesn't mean that you may not be bold in editing this section, but it can't hurt to check the discussion first. |
Amboxes are divided into various categories. Each category has a corresponding colour code. The colour-coding helps to inform of the severity of the issues at a glance.
| Code | Name | Description | Example Templates | |
|---|---|---|---|---|
| #b22222 | Speedy | Immediate deletion | {{db-meta}} | |
| #b22222 | Deletion | Full-discussion deletion; proposed deletion | {{afd}}, {{prod}} | |
| #f28500 | Content | Problems with the content of an article, i.e., what the article actually says | {{POV}}, {{globalize}} | |
| #f4c430 | Style | Problems not with the content, but how it is formatted/presented | {{cleanup}}, {{wikify}} | |
| #1e90ff | Notice | Information readers/editors should be aware of | {{current}}, {{recent death}} | |
| #9932cc | Move | Merge, split and transwiki proposals | {{split}}, {{copy to wiktionary}} | |
| #bba | Protection | Page is locked against edits | {{pp-protected}} |
The choice of colour is partly inspired by the ANSI standard safety "Signal Words" and their corresponding colors: Danger (Red), Warning (Orange), Caution (Yellow), and Notice (Blue).
Most amboxes have a background colour of #fbfbfb (slightly off white), which is intended to contrast slightly with the full white (#ffffff) used for articles, while still being easy to read. The exception is the Speedy category, which uses a pink background (#fee) to highlight the immediate nature of the problem.
[edit] Implementation
As of the end of 2007, most article message boxes have been converted to this design.
The design of these article message boxes is controlled by the Ambox CSS classes, which are part of MediaWiki:Common.css.
The meta template {{ambox}} makes it easy to create article message boxes in the new design. It has usage documentation and examples. Note that {{ambox}} is just a thin wrapper for the CSS classes.
The CSS classes can also be applied directly to a wikitable or HTML table, especially when special functionality is needed. Wikipedia:Ambox CSS classes describes how.
[edit] Alternate skins
It is possible to customize the appearance of ambox templates on a per-user basis. To do this, you need a named account. Then add to or alter the code in your monobook.css page. There are several pre-made "skins" available for this at Wikipedia:Ambox CSS classes/Skins.
[edit] Examples
Please note:
- The wording (text) of these message boxes is outside the scope of this effort. The wording in the examples below is for illustration purposes only.
- The following box has a white background to mimic article pages.
[edit] Speedy deletion
| This page may meet Wikipedia's criteria for speedy deletion as an article that contains no content whatsoever, or consists only of external links, category tags, a "see also" section, a rephrasing of the title, an attempt to correspond with the person or group named by its title, chat-like comments and/or images. Disambiguation pages and redirects are not eligible for this criterion. A very short article may still be a valid stub if there is sufficient context to identify the subject. See CSD A3.
If this page does not meet the criteria for speedy deletion, or you intend to fix it, please remove this notice, but do not remove this notice from pages that you have created yourself. If you created this page, and you disagree with its proposed speedy deletion, clicking the button below will take you to the talk page where you will find a pre-formatted place to explain why you believe this page should not be deleted. You can also visit the talk page directly and tailor your own message, or check if you have received a response to your message. Note that once tagged with this notice, the page may be deleted at any time if it unquestionably meets the speedy deletion criteria, or if an explanation posted to the talk page is found to be insufficient. Administrators: check links, history (last), and logs before deletion. Consider checking Google: web, news.
|
[edit] Deletion
This template is being used in the wrong namespace. To nominate this project page for deletion, go to Miscellany for deletion.| This article is being considered for deletion in accordance with Wikipedia's deletion policy. Please share your thoughts on the matter at this article's entry on the Articles for deletion page. Feel free to edit the article, but the article must not be blanked, and this notice must not be removed, until the discussion is closed. For more information, particularly on merging or moving the article during the discussion, read the Guide to deletion. Steps to list an article for deletion:
Unregistered users placing this tag on an article cannot complete the deletion nomination and should leave detailed reasons for deletion on Wikipedia talk:Manual of Style/Article message boxes. If the nomination is not completed and no message is left on the talkpage, this tag may be removed. |
[edit] Content
|
|
The neutrality of this article is disputed. Please see the discussion on the talk page. Please do not remove this message until the dispute is resolved. |
|
|
This article appears to be written like an advertisement. Please help improve it by rewriting promotional content from a neutral point of view and removing any inappropriate external links. |
[edit] Style
| This Wikipedia page may require cleanup to meet Wikipedia's quality standards. (Consider using more specific cleanup instructions.) Please help improve this Wikipedia page if you can. The talk page may contain suggestions. |
|
|
This article may need to be wikified to meet Wikipedia's quality standards. Please help by adding relevant internal links, or by improving the article's layout.
Click [show] on right for more details.
No reason has been cited for the Wikify tag on this article.
|
[edit] Notice
| This article documents a current event. Information may change rapidly as the event progresses. |
[edit] Move
| It has been suggested that this page or section be merged with Example. (Discuss) |
[edit] Stacking demo
|
|
The neutrality of this article is disputed. Please see the discussion on the talk page. Please do not remove this message until the dispute is resolved. |
|
|
This article may need to be wikified to meet Wikipedia's quality standards. Please help by adding relevant internal links, or by improving the article's layout.
Click [show] on right for more details.
No reason has been cited for the Wikify tag on this article.
|
| This article documents a current event. Information may change rapidly as the event progresses. |
[edit] See also
- Wikipedia:Template messages – For a complete list of amboxes
- Wikipedia talk:Article message boxes – For discussion about these matters.
- Template:Ambox – The meta template that makes it easy to create article message box templates in this new style. It has usage documentation and examples.
- Wikipedia:Ambox CSS classes – Describes how to use the ambox CSS classes directly in wikitables and HTML tables.
- Wikipedia:Ambox CSS classes/Skins – Several article message box skins for your Wikipedia account.
- Wikipedia:Talk page templates – For ClockworkSoul's Coffee Roll standard used in talk page templates.
- Wikipedia:Template standardisation – For standardisation efforts across the template namespace.
- Wikipedia:Ambox CSS classes/Admins – For CSS to be placed in MediaWiki:Monobook.css or MediaWiki:Monaco.css on a Wikia site.
- Wikipedia:Huge message boxes