Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
The Centrist Chads Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:MessageBox/doc
(section)
Template
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Parameters== For examples of how to use these parameters, see [[#Examples]]. {| class="wikitable" style="width: 100%" ! Parameter name ! Description ! Required? ! Default |- | <code>class</code> | Additional classes to the root <code>.mbox</code> element. | No | β |- | <code>bordercolor</code> | The color of the thick left-most border. | No | Stylesheet default |- | <code>type</code> | Type of mbox as declared as in CSS with variables. Affects color of the thick left-most border. See [[#Using types]]. | No | β |- | <code>bgcolor</code> | The color of the mbox's background. | No | Stylesheet default |- | <code>style</code> | Additional inline styles to the root <code>.mbox</code> element. | No | β |- | <code>image</code> | An image to be added to the left of all text content. | No | β |- | <code>imagewidth</code> | The width of the image (height automatically adjusts). | No | <code>60px</code> |- | <code>imagelink</code> | The link to which the image points (could link to the relevant maintenance category, per example). If not included, the image will be un-clickable. | No | β |- | <code>header</code> | The header (bold text placed at the top). This is typically used to very briefly explain the subject of the mbox itself, as when the mbox is closed, only the header will show. | No | β |- | <code>text</code> | Non-bold text placed below the header, typically used to explain the subject of the mbox in further or additional detail. When the mbox is closed, this text will be hidden. | No | β |- | <code>comment</code> | Smaller non-bold text placed below the main text, typically used to add additional links or context about the notice. When the mbox is closed, this text will be hidden. | No | β |- | <code>aside</code> | Text placed within a small allocation on the right side separated by a light gray border. Most commonly used to show shortcuts to the page in question (such as on policy pages). When the mbox is closed, this text will be hidden. | No | β |- | <code>id</code> | By default, one close button will close all mboxes on the page. However, to change this, this parameter may be used, given as the name of the mbox implementation (e.g., "Template:Cleanup" would have <code><nowiki>|id=cleanup</nowiki></code>). | No | β |- | <code>collapsed</code> | By default, the mbox will be uncollapsed, and the full contents will be shown. However, to change this, this parameter may be used to set an mbox as collapsed by default (e.g., <code><nowiki>|collapsed=true</nowiki></code> would set the mbox to be collapsed by default). | No | β |}
Summary:
Rules for editing or creating pages:
Don't use anyone's surname unless you're certain they're okay with it
Don't add anything that'll get this site in trouble
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template:MessageBox/doc
(section)
Add topic