Registered User mNo edit summary |
Registered User (Merge articles) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 51: | Line 51: | ||
AFTER | 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>{| class="st-table" style="border- | </noinclude>{| class="st-table" style="border-style: hidden" width="100%" | ||
| style="border-right-width: 0px;" | [[File: | | style="border-right-width: 0px; background: {{STDarkBlue}}; color: #FFFFFF" | [[File:Info_white.png|25px|link=]] <span style="font-weight: bold;"> Information</span> | ||
| style="border-left-width: 0px;" | {{{1|Info}}} | |- | ||
| style="border-left-width: 0px; border-top-width: 0px; background: {{STDarkBlue | tint=25}}" | {{{1| Info}}} | |||
|} | |} |
Latest revision as of 09:38, 14 October 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 AFTER 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.