Wikipedia:Classes in Ambox/Skins
{{historical}}
This page details some pre-made options that you can apply right now to your Wikipedia account, which will change the way the standardized {{tl|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
These are how the various {{tl|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.)
{{ambox
| type = delete
| text = Sample text
More sample text
}}
{{ambox
| type = content
| text = Sample text
More sample text
}}
{{ambox
| type = style
| text = Sample text
More sample text
}}
{{ambox
| type = move
| text = Sample text
More sample text
}}
{{ambox
| type = notice
| text = Sample text
More sample text
}}
The options
= Muted =
{{ambox
|style = border-left: 10px solid #B22222
| type = delete
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #FFCC66
| type = content
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #F3EF84
| type = style
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #BB99FF
| type = move
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #BBE3F4
| type = notice
| 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 =
From BenB4:
{{ambox
|style = border-left: 10px solid #ff8888
| type = delete
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #FFCC66
| type = content
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #f7f777
| type = style
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #ddbbFF
| type = move
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #aaeeFF
| type = notice
| 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 =
From the mainpage colors:
{{ambox
|style = border-left: 10px solid #F2CECE
| type = delete
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #F2E0CE
| type = content
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #F2F2CE
| type = style
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #DDCEF2
| type = move
| text = Sample text
More sample text
}}
{{ambox
|style = border-left: 10px solid #CEDFF2
| type = notice
| 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 =
From Anomie:
{{ambox
| style = background: #efd2d2; border: 1px solid #aaa;
| type = delete
| text = Sample text
More sample text
}}
{{ambox
| style = background: #fce6cc; border: 1px solid #aaa;
| type = content
| text = Sample text
More sample text
}}
{{ambox
| style = background: #fcf3d5; border: 1px solid #aaa;
| type = style
| text = Sample text
More sample text
}}
{{ambox
| style = background: #ead6f4; border: 1px solid #aaa;
| type = move
| text = Sample text
More sample text
}}
{{ambox
| style = background: #d2e8ff; border: 1px solid #aaa;
| type = notice
| 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 =
{{ambox
| image = none
| type = delete
| text = 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 =
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
- 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.