FANDOM


(Created page with '<onlyinclude><!-- -->{| class="mbox" style="border-left: 10px solid {{{color|{{{Color|grey}}}}}}; {{{style|{{{Style|}}}}}}" |- ! <div style="width: 40px;">[[Image:{{{image|Mbox …')
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
<onlyinclude><!--
 
<onlyinclude><!--
   
-->{| class="mbox" style="border-left: 10px solid {{{color|{{{Color|grey}}}}}}; {{{style|{{{Style|}}}}}}"
+
-->{| class="va-mbox" style="border-left: 10px solid {{{color|{{{Color|grey}}}}}}; {{{style|{{{Style|}}}}}}"
 
|-
 
|-
 
! <div style="width: 40px;">[[Image:{{{image|Mbox default.png}}}|{{{px|35x30px}}}|link=]]</div>
 
! <div style="width: 40px;">[[Image:{{{image|Mbox default.png}}}|{{{px|35x30px}}}|link=]]</div>
Line 7: Line 7:
 
<div>'''{{{header|{{{Header|header?}}}}}}'''</div>
 
<div>'''{{{header|{{{Header|header?}}}}}}'''</div>
 
<div>{{{content|{{{Content|content?}}}}}}</div>
 
<div>{{{content|{{{Content|content?}}}}}}</div>
<div style="font-size:90%;">{{{note|{{{Note|}}}}}}</div>
+
<div style="font-size: 90%;">{{{note|{{{Note|}}}}}}</div>
 
|}<!--
 
|}<!--
   

Latest revision as of 10:35, February 24, 2011

Mbox default
header?
content?
[view · edit · purge]
Template documentation (for the template shown above, sometimes hidden or invisible)

Meta-template for building message boxes (used for article management templates, for example).

UsageEdit

{{Mbox
|color   =gray
|image   =Mbox_default.png
|header  =Example header
|content =Example text
}}

ParametersEdit

R
content
Text content of the box.
R
header
Bold text to be displayed as the box header.
N
(default: "gray")
color
Color of left border. Accepts standard HTML color names or RGB hex triplets. For the wiki's color conventions see "Colors" below.
N
(default: "Mbox default.png")
image
Image to be displayed in the box.
N
note
Small text to be displayed below content.
N
(default: "60x55px")
px
Size of image.
N
style
Additional CSS to be applied to the box. To ensure a standardized and professional look across all {{mbox}}-based templates, this should only be used very sparingly.

ColorsEdit

colorshould be used for
red serious issues
orange content issues
blue template issues
purple technical issues
yellow image issues
green stub color
black notices
gray default color

ExamplesEdit

Example 1Edit

{{Mbox
|color   =black
|header  =Example notice
|content =Example notices serve example purposes.
}}

results in:

Mbox default
Example notice
Example notices serve example purposes.

Example 2Edit

{{Mbox
|color   =#F1B82F
|image   =Mbox delete.png
|header  =Example notice
|content =Example notices serve example purposes.
|note    =Example notices are not really useful.
}}

results in:

Mbox delete
Example notice
Example notices serve example purposes.
Example notices are not really useful.
Documentation transcluded from Template:Mbox/doc.
Community content is available under CC-BY-SA unless otherwise noted.