Wikipedia:Classes in Ambox/Skins
This page is currently inactive and is retained for historical reference. Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via a forum such as the village pump. |
This page details some pre-made options that you can apply right now to your Wikipedia account, which will change the way the standardized {{ambox}} article "tags" are displayed to you. To use one of the schemes below, simply copy and paste the displayed code into your monobook.css page. Afterwards, you may need to refresh your browser's cache for the changes to take effect.
Your current skin
[edit]These are how the various {{ambox}} templates will currently be displayed from your account. If you've never edited your monobook.css page before, these boxes reflect settings in MediaWiki:Common.css. (Search for "ambox" on that page.)
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
The options
[edit]Muted
[edit]Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Add this code to your own monobook.css:
/* "Muted" v0.1 color bars for the article message box templates */
table.ambox-delete {
border-left: 10px solid #B22222 ;
}
table.ambox-content {
border-left: 10px solid #FFCC66 ;
}
table.ambox-style {
border-left: 10px solid #F3EF84 ;
}
table.ambox-move {
border-left: 10px solid #BB99FF ;
}
table.ambox-notice {
border-left: 10px solid #BBE3F4 ;
}
Light
[edit]From BenB4:
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Add this code to your own monobook.css:
/* "Light" v0.1 color bars for the article message box templates */
table.ambox-delete {
border-left: 10px solid #ff8888 ;
}
table.ambox-content {
border-left: 10px solid #FFCC66 ;
}
table.ambox-style {
border-left: 10px solid #f7f777 ;
}
table.ambox-move {
border-left: 10px solid #ddbbFF ;
}
table.ambox-notice {
border-left: 10px solid #aaeeFF ;
}
Pastel
[edit]From the mainpage colors:
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Add this code to your own monobook.css:
/* "Pastel" v0.1 color bars for the article message box templates */
table.ambox-delete {
border-left: 10px solid #F2CECE ;
}
table.ambox-content {
border-left: 10px solid #F2E0CE ;
}
table.ambox-style {
border-left: 10px solid #F2F2CE ;
}
table.ambox-move {
border-left: 10px solid #DDCEF2 ;
}
table.ambox-notice {
border-left: 10px solid #CEDFF2 ;
}
All-Color
[edit]From Anomie:
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Sample text More sample text |
Add this code to your own monobook.css:
/* "All-Color" v0.1 for the article message box templates */
table.ambox {
background: #f8fcff;
border: 1px solid #aaa;
}
table.ambox-delete {
background: #efd2d2;
}
table.ambox-content {
background: #fce6cc;
}
table.ambox-style {
background: #fcf3d5;
}
table.ambox-move {
background: #ead6f4;
}
table.ambox-notice {
background: #d2e8ff;
}
Eliminate icons completely
[edit]Sample text More sample text |
Add this code to your own monobook.css:
/* "Eliminate icons" v0.1 for the article message box templates */
.mbox-image {
display: none;
}
.mbox-imageright {
display: none;
}
Eliminate specific message box types
[edit]From CBDunkerson:
Add this code to your own monobook.css:
/* Remove messages boxes relating to article style */
table.ambox-style {
display: none;
}
/* Remove messages boxes relating to article content */
table.ambox-content {
display: none;
}
/* Remove ALL message boxes */
table.ambox {
display: none;
}
See also
[edit]- Wikipedia:Article message boxes – The (proposed) style guideline for creating article message boxes.
- 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:Talk page templates – For the "coffeeroll" standard used in talk page templates.