Jump to content

Wikipedia:Classes in Ambox/Skins

From Wikipedia, the free encyclopedia

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.)

The options

[edit]

Muted

[edit]

From Equazcion and Quiddity:

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:

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:

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:

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]

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]