Template:Under construction/doc

From Simulacrum Wiki
Jump to navigation Jump to search

Example template:


Usage

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

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

Parameters

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

<templatedata> { "params": { "altimage": { "label": "Alternate image", "description": "Provide an alternate image for the template. Should be a complete file tag.", "example": "", "type": "wiki-file-name" }, "section": { "label": "Section", "description": "Replaces phrase \"article\" with \"section\"", "type": "string", "suggested": true }, "subsection": { "label": "Subsection", "description": "Replaces phrase \"article\" with \"subsection\"", "type": "string", "suggested": true }, "nosection": { "label": "No section", "description": "Replaces phrase \"section\" with article", "type": "string" }, "notready": { "label": "Not ready", "description": "Adds the text \", and is not yet ready for use\" following the word \"restructuring\".", "type": "string" }, "placedby": { "label": "Placed by", "description": "User name of the person placing the template.", "type": "wiki-user-name", "example": "Jack", "required": true }, "comment": { "label": "Comment", "description": "A place to add any additional details to the template", "type": "unbalanced-wikitext" }, "nocat": { "label": "No category", "description": "Prevents the page from being placed into default Category:Pages actively undergoing construction or into custom category.", "type": "string", "default": "false" }, "Category": { "description": "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": "", "type": "unbalanced-wikitext" }, "notify": { "label": "Notify", "description": "Asks that the placing editor be notified if template is removed.", "type": "string" } }, "paramOrder": [ "altimage", "section", "subsection", "nosection", "notready", "placedby", "comment", "nocat", "Category",

       "notify"

], "format": "inline", "description": "This template is for articles actively undergoing construction. If the article instead is actively undergoing a major edit, please use Template:In use. " } </templatedata>

See also