Jump to content

Template:Under construction/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
{{para}}
 
(27 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{documentation subpage}}<!--
<!--
PLEASE NOTE
PLEASE NOTE


Line 5: Line 5:
new article as a "work in progress" will be deleted. Please read [[Wikipedia:Starting an article]]
new article as a "work in progress" will be deleted. Please read [[Wikipedia:Starting an article]]
for guidelines on creating an article.
for guidelines on creating an article.
-->
-->{{documentation subpage}}
{{Redirect-distinguish2|[[Template:UC]]|the <code><nowiki>{{uc:string}}</nowiki></code> [[WP:MAGIC#Formatting|magic word]]}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->

'''''Example template:'''''
{{Under construction|nocat=true}}
----
{{High-use|2338}}
{{Twinkle standard installation}}
{{Twinkle standard installation}}
{{Template shortcut|uc|UC}}
== Usage ==
== Usage ==
{{Main|Wikipedia:How to edit a page|Wikipedia:Template messages|Template:In use/doc}}
{{Main|Wikipedia:How to edit a page|Wikipedia:Template messages|Template:In use/doc}}
Line 17: Line 16:
This template is for articles actively undergoing construction. If the article instead is actively undergoing a major edit, please use {{Tl|In use}}.
This template is for articles actively undergoing construction. If the article instead is actively undergoing a major edit, please use {{Tl|In use}}.


In general, this template should not be used for new articles with little content. Instead, the [[Wikipedia:About the Sandbox|sandbox]] should be used to develop the article so that it has reasonable content when it is copied into namespace.
In general, this template should not be used for new articles with little or no content. Instead, the [[Wikipedia:About the Sandbox|sandbox]] should be used to develop the article so that it has reasonable content when it is copied into mainspace.


Articles tagged with this template are automatically added to the category [[:Category:Pages actively undergoing construction]]. Add the parameter <code>|placedby=</code> (followed by your login name) to make it easy for people to contact the person who placed the template. If a page using this template has not been edited in 8 days, a bot will automatically remove the template.
Articles tagged with this template are automatically added to the category [[:Category:Pages actively undergoing construction]]. Add the parameter <code>|placedby=</code> (followed by your user name; do not insert a full signature) to make it easy for people to contact the person who placed the template. If a page using this template has not been edited in 8 days, a bot will automatically remove the template.


If used on a non-article page (such as a user page) which is not yet ready for use, type {{Tlx|Under construction|notready&#61;true}}. That will produce the following:
If used on a non-article page (such as a user page) which is not yet ready for use, type {{Tlx|Under construction|notready&#61;true}}. That will produce the following:
Line 29: Line 28:


===Blank template===
===Blank template===
<pre><nowiki>{{under construction |placedby= |section= |nosection= |nocat= |notready= |comment= |category= |altimage= }}</nowiki></pre>
<syntaxhighlight lang="wikitext">{{Under construction |placedby= |section= |nosection= |nocat= |notready= |comment= |category= |altimage= |notify= }}</syntaxhighlight>


===Parameters===
===Parameters===
*'''altimage''' - provide an alternate image for the template. Should be a complete file tag, e.g. <code><nowiki>[[File:Under_construction_icon-orange.svg|64px]]</nowiki></code>
*'''altimage''' provide an alternate image for the template. Should be a complete file tag, e.g. <code><nowiki>[[File:Under_construction_icon-orange.svg|64px]]</nowiki></code>
*'''category''' - a custom category (must be prefixed with the "Category:" namespace identifier and enclosed in double square brackets) into which the page will be placed. If omitted, the page is placed by default in [[:Category:Pages actively undergoing construction]]. However the age will not be placed into a category if the page is in the "User:" or "User talk:" namespaces.
*'''category''' a custom category (must be prefixed with the "Category:" namespace identifier and enclosed in double square brackets) into which the page will be placed. If omitted, the page is placed by default in [[:Category:Pages actively undergoing construction]]. However the page will not be placed into a category if the page is in the "User:" or "User talk:" namespaces.
*'''comment''' - free-form text. If present, the text "Contributor note:" is shown followed by the content of {{para|comment}}.
*'''comment''' free-form text. If present, the text "Contributor note:" is shown followed by the content of {{para|comment}}.
*'''nocat''' - set to '''true''' (e.g. <tt><nowiki>nocat=true</nowiki></tt>) to prevent the page from being placed into default [[:Category:Pages actively undergoing construction]] or into custom category. Set to anything but '''true''' or don't set it at all, and it will be included.
*'''nocat''' set to '''true''' (e.g. {{para|nocat|true}}) to prevent the page from being placed into the default [[:Category:Pages actively undergoing construction]] or into a custom category. Set to anything but '''true''' or don't set it at all, and it will be included.
*'''notready''' - value is immaterial, but if present, and not blank, adds the text ", and is not yet ready for use" following the word "restructuring".
*'''notready''' value is immaterial, but if present, and not blank, adds the text ", and is not yet ready for use" following the word "restructuring".
*'''nosection''' - value is immaterial, but if present, and not blank (e.g. <tt><nowiki>nosection=yes</nowiki></tt>), removes the phrase "or section", i.e. makes the message apply to the entire page
*'''nosection''' value is immaterial, but if present, and not blank (e.g. {{para|nosection|yes}}), removes the phrase "or section", i.e. makes the message apply to the entire page
*'''placedby''' - user name of the person placing the template.
*'''placedby''' user name of the person placing the template. Do not use a full talk page signature.
*'''section''' - value is immaterial, but if present, and not blank (e.g. <tt><nowiki>section=yes</nowiki></tt>), removes the phrase "article or", i.e. makes the message apply only to a section.
*'''section''' value is immaterial, but if present, and not blank (e.g. {{para|section|yes}}), removes the phrase "article or", i.e. makes the message apply only to a section.
*'''subsection''' – value is immaterial, but if present, and not blank (e.g. {{para|subsection|yes}}), removes the phrase "article or", i.e. makes the message apply only to a subsection.
*'''notify''' – yes, y or any value. Placing editor wants to be notified on their talk page if template is removed.


== Template data ==
== Template data ==
Line 54: Line 55:
"label": "Section",
"label": "Section",
"description": "Replaces phrase \"article\" with \"section\"",
"description": "Replaces phrase \"article\" with \"section\"",
"type": "string",
"suggested": true
},
"subsection": {
"label": "Subsection",
"description": "Replaces phrase \"article\" with \"subsection\"",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 71: Line 78:
"description": "User name of the person placing the template.",
"description": "User name of the person placing the template.",
"type": "wiki-user-name",
"type": "wiki-user-name",
"example": "[[User:Jack]]",
"example": "Jack",
"required": true
"required": true
},
},
Line 89: Line 96:
"example": "[[Category:Science articles undergoing expansion]]",
"example": "[[Category:Science articles undergoing expansion]]",
"type": "unbalanced-wikitext"
"type": "unbalanced-wikitext"
},
"notify": {
"label": "Notify",
"description": "Asks that the placing editor be notified if template is removed.",
"type": "string"
}
}
},
},
Line 94: Line 106:
"altimage",
"altimage",
"section",
"section",
"subsection",
"nosection",
"nosection",
"notready",
"notready",
Line 99: Line 112:
"comment",
"comment",
"nocat",
"nocat",
"Category"
"Category",
"notify"
],
],
"format": "inline",
"format": "inline",
Line 107: Line 121:


== See also ==
== See also ==
* [http://tools.wmflabs.org/tb-dev/PUCS/ A tool reports pages containing 'under construction' notices ranked by the time since last edit]
* {{tl|In creation}} to use this template when multiple edits are being made to add content immediately after creating the article
* {{tl|In creation}} to use this template when multiple edits are being made to add content immediately after creating the article
* {{tl|In use}}, for articles actively undergoing a major edit for a short while to list them in [[:Category:Pages actively undergoing a major edit]]
* {{tl|In use}}, for articles actively undergoing a major edit for a short while to list them in [[:Category:Pages actively undergoing a major edit]]
* {{tl|Under discussion}}, for a non main page undergoing active discussion on its talk page
* {{tl|Under discussion}}, for a non main page undergoing active discussion on its talk page
* {{T1|recently revised}}, if you are unsure about your revision/major changes and want a second opinion
* {{tl|Deletion under review}}, to prevent deletion nomination until the review process is complete
* {{tl|Deletion under review}}, to prevent deletion nomination until the review process is complete

* [[Wikipedia:Deletion of newly created pages]], regarding preventing pages from getting deleted while they are brand new.
* [[Wikipedia:Deletion of newly created pages]], regarding preventing pages from getting deleted while they are brand new.

* {{tl|Missing information}}
* {{tl|Data missing}}
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->

Latest revision as of 04:59, 10 June 2024

Usage

[edit]

This template is for articles actively undergoing construction. If the article instead is actively undergoing a major edit, please use {{In use}}.

In general, this template should not be used for new articles with little or no content. Instead, the sandbox should be used to develop the article so that it has reasonable content when it is copied into mainspace.

Articles tagged with this template are automatically added to the category Category:Pages actively undergoing construction. Add the parameter |placedby= (followed by your user name; do not insert a full signature) to make it easy for people to contact the person who placed the template. If a page using this template has not been edited in 8 days, a bot will automatically remove the template.

If used on a non-article page (such as a user page) which is not yet ready for use, type {{Under construction|notready=true}}. That will produce the following:

A comment may be added to the box using the |comment= switch.

As this template is used in multiple namespaces it uses {{mbox}}, which will automatically detect individual namespace usage and adapt appropriate styling accordingly.

Blank template

[edit]
{{Under construction |placedby= |section= |nosection= |nocat= |notready= |comment= |category= |altimage= |notify= }}

Parameters

[edit]
  • altimage – provide an alternate image for the template. Should be a complete file tag, e.g. [[File:Under_construction_icon-orange.svg|64px]]
  • category – a custom category (must be prefixed with the "Category:" namespace identifier and enclosed in double square brackets) into which the page will be placed. If omitted, the page is placed by default in Category:Pages actively undergoing construction. However the page will not be placed into a category if the page is in the "User:" or "User talk:" namespaces.
  • comment – free-form text. If present, the text "Contributor note:" is shown followed by the content of |comment=.
  • nocat – set to true (e.g. |nocat=true) to prevent the page from being placed into the default Category:Pages actively undergoing construction or into a custom category. Set to anything but true or don't set it at all, and it will be included.
  • notready – value is immaterial, but if present, and not blank, adds the text ", and is not yet ready for use" following the word "restructuring".
  • nosection – value is immaterial, but if present, and not blank (e.g. |nosection=yes), removes the phrase "or section", i.e. makes the message apply to the entire page
  • placedby – user name of the person placing the template. Do not use a full talk page signature.
  • section – value is immaterial, but if present, and not blank (e.g. |section=yes), removes the phrase "article or", i.e. makes the message apply only to a section.
  • subsection – value is immaterial, but if present, and not blank (e.g. |subsection=yes), removes the phrase "article or", i.e. makes the message apply only to a subsection.
  • notify – yes, y or any value. Placing editor wants to be notified on their talk page if template is removed.

Template data

[edit]

This template is for articles actively undergoing construction. If the article instead is actively undergoing a major edit, please use {{In use}}.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypStatus
Alternate imagealtimage

Provide an alternate image for the template. Should be a complete file tag.

Example
[[File:Under_construction_icon-orange.svg|64px]]
Fileoptional
Sectionsection

Replaces phrase "article" with "section"

Stringsuggested
Subsectionsubsection

Replaces phrase "article" with "subsection"

Stringsuggested
No sectionnosection

Replaces phrase "section" with article

Stringoptional
Not readynotready

Adds the text ", and is not yet ready for use" following the word "restructuring".

Stringoptional
Placed byplacedby

User name of the person placing the template.

Example
Jack
Userrequired
Kommentarcomment

A place to add any additional details to the template

Unbalanced wikitextoptional
No categorynocat

Prevents the page from being placed into default Category:Pages actively undergoing construction or into custom category.

Default
false
Stringoptional
KategorieKategorie

A custom category (must be prefixed with the "Category:" namespace identifier and enclosed in double square brackets) into which the page will be placed.

Example
[[Category:Science articles undergoing expansion]]
Unbalanced wikitextoptional
Notifynotify

Asks that the placing editor be notified if template is removed.

Stringoptional

See also

[edit]