पटिरूप:Message box/doc

This is a documentation subpage for पटिरूप:Message box
It contains usage information, categories and other content that is not part of the original पटिरूप page.
{{Message box
 | bgcolor    =
 | bwidth     =
 | bpattern   =
 | bcolor     =
 | leftcolor  =
 | image      =
 | imagesize  =
 | align      =
 | text       =
 | image2     =
 | image2size =
 | width      = }}

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Texttext 1

Text to display

Example
Hello World!
Unknownrequired
Background colorbgcolor

Background color

Default
white
Example
#f8eabb
Unknownsuggested
Border widthbwidth

Border width

Default
2px
Example
3em
Unknownoptional
Border patternbpattern

Border pattern

Default
solid
Example
dashed
Unknownoptional
Border colorbcolor

Border color

Default
darkgray
Example
#e0f0d0
Unknownoptional
Left colorleftcolor

A strip of color on the leftmost portion of message box.

Example
#d0d000
Unknownoptional
Imageimage

Image (image name without namespace)

Default
Information icon4.svg
Example
Semi-protection-shackle-keyhole.svg
Unknownoptional
Image sizeimagesize

Image size

Default
40px
Example
5%
Unknownoptional
Alignalign

Text alignment

Default
left
Example
center
Unknownoptional
Image2image2

Additional image on the right side

Example
Semi-protection-shackle-keyhole.svg
Unknownoptional
Image2 sizeimage2size

Image2 size

Example
30em
Unknownoptional
Widthwidth

Sets the width of the message box

Default
80%
Example
100px
Unknownoptional