Jump to content

Template:Attention/doc

From Appropedia

Use this template to show important safety information.

To highlight an interesting fact or piece of information on a page (not related to safety), use Template:Highlight instead.

The following wikitext:

{{Attention
| title = Mind the gap!
}}

Will create the following sign:

Mind the gap!

You can also add some text, like so:

{{Attention
| title = Mind the gap!
| text = Walk under your own risk.
}}
Mind the gap!

Walk under your own risk.

Or just the text, like so:

{{Attention
| text = Mind the gap!
}}

Mind the gap!

See also

[edit source]

Template data

[edit source]

Use this template to show important safety information.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Title of the attention note

Example
Mind the gap!
Stringoptional
Texttext

Text of the attention note

Example
Walk under your own risk.
Contentoptional
Iconicon

Icon of the attention note

Default
OOjs UI icon alert-destructive.svg
Fileoptional
Classclass

Additional CSS class of the attention note

Suggested values
full float
Stringoptional


Cookies help us deliver our services. By using our services, you agree to our use of cookies.