{{{title}}}


{{{content}}}

The box template allows you to highlight something with a coloured box.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Title of the box.

Example
Selection
Stringrequired
Contentcontent

Content of the box.

Example
{{clr}}{{Template:Box/Sample}}
Contentrequired
Linklink

Wikipedia page title for editing the content.

Example
Template:Box/Sample
Page namesuggested
Title background colorbackground-title-color

CSS color of the title bar background.

Default
var(--background-color-base)
Example
#447FF5
Stringsuggested
Iconicon

Name of an icon file.

Example
Circle-icons-chat.svg
Fileoptional
Trailing Icontrailing-icon

An icon to display after, rather than before, the title.

Fileoptional
Title colortitle-color

CSS color of the title text.

Default
var(--color-base)
Example
#339966
Stringoptional
Stylestyle

Additional CSS style for the container.

Stringoptional
Link colorlink-color

CSS color of the 'Edit' link.

Default
var(--color-progressive)
Example
#339966
Stringoptional
Content background colorbackground-content-color

CSS color of the box content background.

Default
var(--background-color-base)
Example
#339966
Stringoptional
Link-textLink-text

Default title: edit, can be changed

Default
edit
Unknownoptional
background-colorbackground-color

no description

Unknownoptional
Title background color on hoverbackground-title-color-hover

When hovering with the mouse, changes the background color of the title.

Default
{{{background-title-color}}}
Unknownoptional
title-color-hovertitle-color-hover

no description

Unknownoptional
Flexflex

Integration into the dynamic column/row grid. The first number indicates the proportion at which the box can expand, the second indicates the proportion at which it can shrink, the third indicates the minimum width in px/em of the box

Default
0 1 auto
Stringoptional
Center titlecenter

If specified, it allows centering the title.

Unknownoptional
Classclass

CSS classes to apply to the box.

Suggested values
ambox hatnote dablink side-box
Stringoptional