Jump to content

Template:Notice

Permanently protected template
From Meta, a Wikimedia project coordination wiki
Template documentation


Usage

{{notice|1=Example text}}

creates:

Templatedata

A simple box with an "i" icon, to be used for adding an informational notice. Based on [[Template:mbox]].

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Notice content1 reason content text

The content that will be displayed within the notice box.

Stringrequired
Headingheading header title

The heading that will be displayed within the notice box.

Stringoptional
Centercenter

Whether to center the content.

Suggested values
yes
Stringoptional
Alignmentalign

Direction of the content to be displayed. On pages that are to be translated, this should not be specified because some languages are written from right to left.

Suggested values
left center right
Stringoptional
Smallsmall

Make the box small and to the right.

Suggested values
yes
Stringoptional
Text after the imageimageright

The content displayed on the opposite side of the image. This overrides the shortcut parameters.

Stringoptional
Shortcut (main)shortcut1 shortcut

Shortcut to this page.

Example
[[Example]]
Page nameoptional
Shortcut (secondary)shortcut2

no description

Page nameoptional
Shortcut (3rd)shortcut3

no description

Page nameoptional
Shortcut (4th)shortcut4

no description

Page nameoptional
Shortcut (5th)shortcut5

no description

Page nameoptional
Imageimage

Image name to be used in notice box.

Fileoptional
Alternative text for the imageimagealt

no description

Stringoptional
Box stylestyle

CSS value to be applied to the whole notice box.

Default
margin-top:1em; margin-bottom:1em
Stringoptional
Heading styleheadstyle

CSS value to be applied to the heading.

Stringoptional
Text styletextstyle

CSS value to be applied to the content.

Stringoptional
Box configuration overridedemospace

If set, the title namespace will be disregarded. Instead, the specified value determines which box configuration will be applied. If a value outside of the following list is provided, the system defaults to configuring an ombox.

Suggested values
talk image file category article main
Stringoptional