Last edited 3 years ago

Template:UnderConstruction: Difference between revisions

Registered User
m (7 revisions imported)
Registered User
(Merge articles)
 
Line 37: Line 37:
|
|
{{UnderConstruction| The under construction 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.}}
{{UnderConstruction| The under construction 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 message
<pre style="white-space: pre-wrap;">
BEFORE{{UnderConstruction | Check spaces}}AFTER<br>
BEFORE
{{UnderConstruction | Check spaces}}
AFTER
</pre>
|
BEFORE{{UnderConstruction | Check spaces}}AFTER<br>
BEFORE
{{UnderConstruction | Check spaces}}
AFTER
|}
|}
==Maintenance==
This template is a template common to all ST wikis. <br>
Modifications must be done into the [[stwikimodel:Template:UnderConstruction|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: {{STPink}};"
| style="border-width: 1px 0px 1px 1px; border-style: solid; border-color: {{STPink}}; background-color: transparent; color: #58585A; font-weight: normal; text-align:left;" | [[File:Under_construction.png|40px|link=]]
| style="border-right-width: 0px;" | [[File:Under_construction.png|40px|link=]]
| style="border-width: 1px 1px 1px 0px; border-style: solid; border-color: {{STPink}}; background-color: transparent; color: #58585A; font-weight: normal; text-align:left; font-family:Arial;" | {{{1|Coming soon}}}
| style="border-left-width: 0px;" | {{{1|Coming soon}}}
|}{{#set:Has under construction messages=true}}<includeonly>[[Category:Article under construction]]</includeonly>
|}{{#set:Has under construction messages=true}}<includeonly>[[Category:Article under construction]]</includeonly>

Latest revision as of 15:35, 28 July 2021

1. Usage

The UnderConstruction template is used to indicate that a page (or part of a page) is under construction (not ready yet).

It puts a message box with a "pink under construction" icon in the page, and adds this page to the Article under construction category.

Usage:  {{UnderConstruction | <message>}}

Where <message> is the optional under construction message. If this parameter is not set, the default message is "Coming soon".

2. Basic examples

You type You get
Under construction without specific message
{{UnderConstruction}}
Under construction.png Coming soon
Under construction with specific message
{{UnderConstruction| Delivery for this distribution is being prepared}}
Under construction.png Delivery for this distribution is being prepared

3. More examples

You type You get
Under construction with a long message
{{UnderConstruction| The under construction 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.}}
Under construction.png The under construction 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 message
BEFORE{{UnderConstruction | Check spaces}}AFTER<br>
BEFORE
{{UnderConstruction | Check spaces}}
AFTER

BEFORE

Under construction.png Check spaces
AFTER

BEFORE

Under construction.png 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

Under construction.png Coming soon