Difference between revisions of "Template:UnderConstruction"

[quality revision] [quality revision]
m
(Merge articles)
 

1 Usage[edit]

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[edit]

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[edit]

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[edit]

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[edit]

Under construction.png Coming soon
<noinclude>

==Usage==
The [[Template:UnderConstruction|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 [[:Category:Article under construction|Article under construction]] category.

 Usage:  <nowiki>{{</nowiki>UnderConstruction | {{HighlightParam|<message>}}}}
Where {{HighlightParam|<message>}} is the '''optional''' under construction message. If this parameter is not set, the default message is "Coming soon".

==Basic examples==
{| class="st-table"
! You type !! You get
|-
| Under construction without specific message<pre style="white-space: pre-wrap;">

{{UnderConstruction}}</pre>

|
{{UnderConstruction}}
|-
| Under construction with specific message<pre style="white-space: pre-wrap;">

{{UnderConstruction| Delivery for this distribution is being prepared}}</pre>

|
{{UnderConstruction| Delivery for this distribution is being prepared}}
|}

==More examples==
{| class="st-table"
! You type !! You get
|-
| Under construction with a long message<pre style="white-space: pre-wrap;">

{{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.}}</pre>

|
{{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==</noinclude>{| class="st-table" style="border-color: {{STPink}};"
| style="border-right-width: 0px;" | [[File:Under_construction.png|40px|link=]]
| style="border-left-width: 0px;" | {{{1|Coming soon}}}
|}{{#set:Has under construction messages=true}}<includeonly>[[Category:Article under construction]]</includeonly>
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: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==