Floating box with an icon and background. Used for licensing templates, Template:Note and similar boxes.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Box textbox-text

Text inside of the box.

Contentrequired
Box iconsbox-icons

Standard wikitext containing the icons to place inside of the box, see example syntax.

Contentsuggested
Enable marginmargin

If set, adds a margin from the sides of the box.

Auto value
false
Booleansuggested
Text colorcolor

Text color in any format supported by CSS (hex, rgb(...), ...)

Auto value
inherit
Stringoptional
Background colorbackground

Background color in any format supported by CSS (hex, rgb(...), ...)

Auto value
inherit
Stringoptional
Border colorborder-color

Text color in any format supported by CSS (hex, rgb(...), ...)

Auto value
#eaecf0
Stringoptional
Border styleborder-style

CSS border-style value

Example
solid
Auto value
solid
Stringoptional
Border widthborder-width

Border width with unit

Example
1px
Auto value
1px
Stringoptional
Paddingpadding

Padding to add to the box, with the unit

Auto value
0.35em
Stringoptional
HTML rolerole

HTML accessible role parameter to add to the box.

Auto value
text container
Stringoptional
HTML classclass

HTML class/classes to add to the box, space-separated.

Stringoptional