模板:UnderConstruction

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2020年11月8日 (日) 14:41的版本 (创建页面,内容为“<noinclude> ==Usage== The UnderConstruction template is used '''to indicate that a page (or part of a page) is under construction (not…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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".

Basic examples

You type You get
Under construction without specific message
{{UnderConstruction}}
Under construction.png Coming soon
{{#set:Has under construction messages=true}}
Under construction with specific message
{{UnderConstruction| Delivery for this distribution is being prepared}}
Under construction.png Delivery for this distribution is being prepared
{{#set:Has under construction messages=true}}

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.
{{#set:Has under construction messages=true}}
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
{{#set:Has under construction messages=true}}AFTER

BEFORE

Under construction.png Check spaces
{{#set:Has under construction messages=true}}

AFTER

Code

Under construction.png Coming soon

{{#set:Has under construction messages=true}}