Editing
Template:MessageBox/doc
(section)
Jump to navigation
Jump to search
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!
==Design== Some communities may wish to customize the appearance of the mboxes. The most common styling options are provided illustrated in CSS. <syntaxhighlight lang="css" class="mw-collapsible mw-collapsed"> .mbox { /* the background of the entire box */; background-color: ; /* the border color of the entire box */ border-color: ; /* the border thickness of the entire box */ border-width: ; /* the default thick left border color; note this can be changed from within the template implementations using the "color" parameter */ border-left-color: ; /* the rounded-ness of the corners */; border-radius: ; /* the baseline font-size of the mbox */ font-size: ; } .mbox__content { /* the padding inside the mbox */ padding: ; } .mbox__content__image { /* the minimum width of the mbox's image (if bigger, use the "imagewidth" parameter in the template) */ width: ; /* the spacing to the left of the text (i.e., the right of the image) */ padding-right: ; } .mbox__content__text__comment { /* the size of the text in the "comment" parameter */ font-size: ; } .mbox__content__aside { /* any particular modifications to the "aside" area can go here */ /* the maximum width of the aside area */ width: ; } .mbox__close { /* the appearance of the close symbol here */ } .mbox__close:after { /* overwrite "content" here if you do not wish for the close symbol to be Γ */ content: ''; } .mw-collapsed + .mbox__close { /* modifications to the close symbol when the box is closed */ } .mw-collapsed + .mbox__close:after { /* overwrite "content" here if you do not wish for the close symbol to be + when the box is closed */ content: ''; } </syntaxhighlight> ; Technical notes * Additional inline styles to the root <code>.mbox</code> element can be achieved via the <code>style</code> parameter in the template.
Summary:
Please note that all contributions to The Wiki of Egg may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
The Wiki of Egg:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
The Channel of Egg
Video list
Members
Running jokes
Series
Tools
What links here
Related changes
Special pages
Page information