Registered User m (24 revisions imported) |
Registered User (Merge articles) |
||
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
The [[Template:Info|Info]] template is used '''to draw attention to a particularly important point'''. | The [[Template:Info|Info]] template is used '''to draw attention to a particularly important point'''. | ||
It puts a message box with a "dark blue info" icon in the page. | It puts a message box with a "dark blue info" icon in the page. | ||
Line 37: | Line 37: | ||
| | | | ||
{{Info | The info 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.}} | {{Info | The info 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 | |||
<pre style="white-space: pre-wrap;"> | |||
BEFORE{{Info | Check spaces}}AFTER<br> | |||
BEFORE | |||
{{Info | Check spaces}} | |||
AFTER | |||
</pre> | |||
| | |||
BEFORE{{Info | Check spaces}}AFTER<br> | |||
BEFORE | |||
{{Info | Check spaces}} | |||
AFTER | |||
|} | |} | ||
==Maintenance== | |||
This template is a template common to all ST wikis. <br> | |||
Modifications must be done into the [[stwikimodel:Template:Info|WikiModel]]. They must be reviewed by all ST wikis maintainers.<br> | |||
When approved, the template can be pushed/merged towards all ST wikis. | |||
==Code== | ==Code== | ||
</noinclude>{| | </noinclude>{| class="st-table" style="border-color: {{STDarkBlue}};" | ||
| style="border-right-width: 0px;" | [[File:Info.png|40px|link=]] | |||
| style="border-width: | | style="border-left-width: 0px;" | {{{1|Info}}} | ||
|} | |} |
Revision as of 15:24, 28 July 2021
1. Usage
The Info template is used to draw attention to a particularly important point.
It puts a message box with a "dark blue info" icon in the page.
<message>}}Usage: {{Info |
Where <message> is the optional info message. If this parameter is not set, the default message is "Info".
2. Basic examples
You type | You get | ||
---|---|---|---|
Info without specific info message
{{Info}}
|
| ||
Info with specific Info message
{{Info | Note that the below actions are optional but recommended}}
|
|
3. More examples
You type | You get | ||||
---|---|---|---|---|---|
Info with a long info message
{{Info | The info 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{{Info | Check spaces}}AFTER<br>
BEFORE
{{Info | Check spaces}}
AFTER
|
BEFORE
BEFORE
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
File:Info.png | Info |