Template:Under construction/doc
This is a documentation subpage for Template:Under construction. It contains usage information, categories, and other content that is not part of the original template page. |
Example template:
This template page is actively undergoing a major edit for a short while. To help avoid edit conflicts, please do not edit this page while this message is displayed. This page was last revised at 17:06, 26 June 2021 (UTC) (3 years ago). Please remove this template if this page hasn't been edited in several hours. If you are the editor who added this template, please be sure to remove it between editing sessions. |
This template is used on approximately 2,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at w:Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
Usage
editThis 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 namespace.
Articles tagged with this template are automatically added to the category Category:Pages actively undergoing construction. Add the parameter |placedby=
(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.
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:
This template page is actively undergoing a major edit for a short while. To help avoid edit conflicts, please do not edit this page while this message is displayed. This page was last revised at 17:06, 26 June 2021 (UTC) (3 years ago). Please remove this template if this page hasn't been edited in several hours. If you are the editor who added this template, please be sure to remove it between editing sessions. |
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= }}
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 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.
- 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.
- 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.
Template data
editThis template is for articles actively undergoing construction. If the article instead is actively undergoing a major edit, please use {{In use}}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Alternate image | altimage | Provide an alternate image for the template. Should be a complete file tag.
| File | optional |
Section | section | Replaces phrase "article" with "section" | String | suggested |
No section | nosection | Replaces phrase "section" with article | String | optional |
Not ready | notready | Adds the text ", and is not yet ready for use" following the word "restructuring". | String | optional |
Placed by | placedby | User name of the person placing the template.
| User | required |
Comment | comment | A place to add any additional details to the template | Unbalanced wikitext | optional |
No category | nocat | Prevents the page from being placed into default Category:Pages actively undergoing construction or into custom category.
| String | optional |
Category | 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.
| Unbalanced wikitext | optional |
See also
edit- A tool reports pages containing 'under construction' notices ranked by the time since last edit
{{In creation}}
to use this template when multiple edits are being made to add content immediately after creating the article{{In use}}
, for articles actively undergoing a major edit for a short while to list them in Category:Pages actively undergoing a major edit{{Under discussion}}
, for a non main page undergoing active discussion on its talk page{{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.
{{Missing information}}
{{Data missing}}