Last edited 3 months ago

Important

1. Usage

The Important template is used to delivered important messages.

It puts a message in a green box with a "white warning" icon.

Usage:  {{Important | <message>}}

Where <message> is the optional important message. If this parameter is not set, the default message is "Please read carefully".

2. Basic examples

You type You get
Warning without specific warning message
{{Important}}
Warning DB.png Important
Please read carefully
Warning with specific warning message
{{Important | Please respect the order of the below actions. Just after, link is displayed to test the background color when link is displayed: [[Main Page]]}}
Warning DB.png Important
Please respect the order of the below actions. Just after, link is displayed to test the background color when link is displayed: Main Page

3. More examples

You type You get
Warning with a long warning message
{{Important| The warning message is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli.}}
Warning DB.png Important
The warning message is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli.
Check that the spaces before and after the info message
BEFORE{{Imortant test1| Check spaces}}AFTER<br>
BEFORE
{{Important | Check spaces}}
AFTER

BEFORE

Warning DB.png Important
Check spaces
AFTER

BEFORE

Warning DB.png Important
Check spaces

AFTER

4. Maintenance

This template is a template common to all ST wikis.
Modifications must be done into the WikiModel. They must be reviewed by all ST wikis maintainers.
When approved, the template can be pushed/merged towards all ST wikis.

5. Code

Warning DB.png Important
Please read carefully
No categories assignedEdit