Redirected from Template:Notice

Template:Mbox

From Appropedia

Template documentation[edit source]

Use this meta template to build message box templates such as Template:References or Template:Disambiguation.

Usage

Basic

{{Notice|This text will be visible on mobile and desktop devices alike.}}

Will produce:

Full

{{Mbox/sandbox
|id = some-id
|type = serious
|class = custom-class
|border = red
|background = #faa
|image = Appropedia.png
|image-size = 100px
|image-link = Welcome to Appropedia
|image-alt = Go to Appropedia's main page
|head = This text will be visible on mobile and desktop devices alike.
|body = This text will be visible on mobile devices only after the user touches the message box.
|foot = This text will also be visible on mobile devices only after the user touches the message box.
|category = Examples
}}

Will produce:

See also

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Idid

no description

Stringoptional
Backgroundbackground background-color

no description

Stringoptional
Borderborder border-color

no description

Stringoptional
Stylestyle

no description

Stringoptional
Typetype

no description

Stringoptional
Classclass

no description

Stringoptional
Imageimage

Main image of the notice

Example
Appropedia.png
Fileoptional
Headhead headline

no description

Unknownoptional
Bodybody text content

no description

Stringoptional
Footfoot

no description

Unknownoptional
Categorycategory

no description

Stringoptional
Image sizeimage-size

Size of the image, in pixels

Default
40px
Example
90px
Stringoptional
Image linkimage-link

Page to link from the image

Example
Welcome to Appropedia
Pageoptional
Image alternative textimage-alt

Alternative text of the image, for screen readers and vision-impaired people

Example
Logo of the organization
Stringoptional