Registered User (Merge articles) |
Registered User m (→Code) Tag: 2017 source edit |
||
(7 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
| Info with specific Info message | | Info with specific Info message | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
{{Info | Note that the below actions are optional but recommended}} | {{Info | Note that the below actions are optional but recommended. Just after, link is displayed to test the background color when link is displayed: [[Main Page]]}} | ||
</pre> | </pre> | ||
| | | | ||
{{Info | Note that the below actions are optional but recommended}} | {{Info | Note that the below actions are optional but recommended. Just after, link is displayed to test the background color when link is displayed: [[Main Page]]}} | ||
|} | |} | ||
Line 58: | Line 58: | ||
==Code== | ==Code== | ||
</noinclude>{| class="st-table" style="border-color: {{STDarkBlue}};" | </noinclude>{| class="st-table" width="100%" style="border-style: solid; border-color: {{STDarkBlue}}; border-width: 2px ; background: transparent;" | ||
| style=" | | style="background: {{STDarkBlue}}; color: #FFFFFF" | [[File:Info_white.png|25px|link=]] <span style="font-weight: bold;"> Information</span> | ||
|- | |||
|| {{{1| Info}}} | |||
|} | |} |
Latest revision as of 14:17, 12 September 2024
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. Just after, link is displayed to test the background color when link is displayed: [[Main Page]]}}
|
|
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
![]() |
Info |