Template:Attention/doc
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.
Usage
[edit source]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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Title of the attention note
| String | optional |
| Text | text | Text of the attention note
| Content | optional |
| Icon | icon | Icon of the attention note
| File | optional |
| Class | class | Additional CSS class of the attention note
| String | optional |