Template:Mbox

Template page
Revision as of 22:59, 6 May 2021 by .jim (talk | contribs)

Shows a message box

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title of the message box, will always be shown

Stringrequired
Descriptiondescription

Additional text. If message box is expanded it will be shown below the title, otherwise it will be shown when hovering on the message box.

Stringsuggested
Expandedexpanded

Whethere the message box is expanded. If true the description will be shown at all times, otherwise it will displayed when hovering on the message box.

Booleansuggested
Prioritypriority

Message box priority. Determines the colour when no other classes are applied. Valid values are low/med/high. Defaults to low.

Stringsuggested
Classclass

Additional CSS classes to add to the message box element

Stringoptional
Imageimage

Image to show in the message box.

Fileoptional
Image Sizeimagesize

Size of the image to show in the message box, with px units. Defaults to 14px

Stringoptional
Image Invertimageinvert

If true, images will be inverted on dark themed pages

Default
yes
Booleanoptional

Template:Mbox/doc