Article Message Box usage
From MeritBadgeDotOrg
(Difference between revisions)
(New page: ==Usage== The following code: <pre> {{ArticleMessageBox |barcolor=#1E90FF |image=Sm-fdl.gif |text = '''This is a stub... Please help {{fullurl:{{PAGENAME}}|action...) |
m (whitespace) |
||
| Line 28: | Line 28: | ||
}} | }} | ||
</pre></div> | </pre></div> | ||
| + | |||
{{:Article message box categories and color}} | {{:Article message box categories and color}} | ||
Revision as of 18:36, March 26, 2008
Usage
The following code:
{{ArticleMessageBox
|barcolor=#1E90FF
|image=Sm-fdl.gif
|text = '''This is a [[MeritBadgeDotOrg:Stub|stub]]... Please help {{fullurl:{{PAGENAME}}|action=edit}} improve this {{{1|article or section}}}] by expanding it.'''<br />Further information might be found on the [[{{TALKPAGENAME}}|talk page]].
|includeonly = [[Category:Stubs]]
}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE -->
Will produce:
| | This is a stub... Please help improve this article or section by expanding it. Further information might be found on the talk page. |
Copy-and-paste code
{{ArticleMessageBox
|barcolor = <- the sidebar color, either by name or #rgb, see below ->
|image = <- the image name, not wikified ->
|text = <- the text that is displayed in the Message Box, wiki-text and links allowed ->
|includeonly = <- articles are automatically placed in this category ->
}}
Categories and colors
Article message boxes are divided into various categories. Each category has a corresponding color code. The color-coding helps to inform of the nature of the issues at a glance.
| Code | Name | Description | Example Templates |
|---|---|---|---|
| #bba | Protection | Page is locked against edits | {{protected}} |
| #b22222 | Deletion | proposed deletion | {{delete}} |
| #f28500 | Content | Problems with the content of an article, i.e., what the article actually says | {{expand}}, {{expand2}}, {{copypaste}}, {{stub}}, {{uncategorized}}, {{unreferenced}} |
| #f4c430 | Style | Problems not with the content, but how it is formatted/presented | {{cleanup}}, {{wikify}} |
| #1e90ff | Notice | Information readers/editors should be aware of | {{info}}, {{Otheruses}}, {{Current}}, {{GFDL content}} |
| #9932cc | Move | Merge and split proposals | {{merge}} |
The choice of color is partly inspired by the ANSI standard safety "Signal Words" and their corresponding colors: Danger (Red), Warning (Orange), Caution (Yellow), and Notice (Blue).
Most Article message boxes have a background color 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.
