Wikipedia:Classes in Ambox/Admins
Appearance
(Redirected from Wikipedia:Ambox CSS classes/Admins)
When using the Ambox template on any MediaWiki wiki (e.g., a Wikia site), you may need to copy the following code into MediaWiki:Common.css on your wiki, this requires admin rights. Example at: [1]
/* Article message box styles */
table.ambox { /* 10% = Will not overlap with other */
margin: -1px 10% 0px; /* elements; -1px = Single border */
background: #fbfbfb; /* between stacked boxes in all */
border: 1px solid #aaa; /* browsers */
border-left: 10px solid #1e90ff; /* Default "notice" blue */
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
table.ambox-notice {
border-left: 10px solid #1e90ff; /* Blue */
}
table.ambox-speedy {
border-left: 10px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ambox-delete {
border-left: 10px solid #b22222; /* Red */
}
table.ambox-content {
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
border-left: 10px solid #f4c430; /* Yellow */
}
table.ambox-move {
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
border-left: 10px solid #bba; /* Gray-gold */
}
See also
[edit]- 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 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.