Difference between revisions of "Template:Under construction"

From The TTSCpedia
Jump to navigationJump to search
TheROFL98
TheROFL98 (talk | contribs) (Created page with "<includeonly>{{mbox | name = Under construction | type = notice | image = {{#if:{{{altimage|}}}|{{{altimage|}}}|File:Ambox warning blue construction.svg|50x40px|link=|p...")
 
m
 
Line 2: Line 2:
 
  | name  = Under construction
 
  | name  = Under construction
 
  | type  = notice
 
  | type  = notice
  | image = {{#if:{{{altimage|}}}|{{{altimage|}}}|[[File:Ambox warning blue construction.svg|50x40px|link=|page is in the middle of an expansion or major revamping]]}}  
+
  | image = {{#if:{{{altimage|}}}|{{{altimage|}}}|[[File:TTSCpedia construction icon.svg|40x40px|link=|page is in the middle of an expansion or major revamping]]}}  
 
  | text  = This {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACE}}
 
  | text  = This {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACE}}
   | Talk          = [[Help:Talk page|talk page]] {{#if:{{{nosection|}}}||or section}}
+
   | Talk          = talk page {{#if:{{{nosection|}}}||or section}}
   | Category      = [[Wikipedia:Category|category page]] {{#if:{{{nosection|}}}||or section}}
+
   | Category      = category page {{#if:{{{nosection|}}}||or section}}
   | Help          = [[Help:Contents|help page]] {{#if:{{{nosection|}}}||or section}}
+
   | Help          = help page {{#if:{{{nosection|}}}||or section}}
   | Portal        = [[Wikipedia:Portal|portal]] {{#if:{{{nosection|}}}||or section}}
+
   | Portal        = portal {{#if:{{{nosection|}}}||or section}}
   | Template      = [[Wikipedia:Template messages|template page]] {{#if:{{{nosection|}}}||or section}}
+
   | Template      = template page {{#if:{{{nosection|}}}||or section}}
   | User          = [[Wikipedia:User pages|user page]] {{#if:{{{nosection|}}}||or section}}
+
   | User          = user page {{#if:{{{nosection|}}}||or section}}
   | User talk      = [[Wikipedia:User pages|user talk page]] {{#if:{{{nosection|}}}||or section}}
+
   | User talk      = user talk page {{#if:{{{nosection|}}}||or section}}
   | Wikipedia     = [[Wikipedia:Project namespace|project page]] {{#if:{{{nosection|}}}||or section}}
+
   | TTSCpedia     = project page {{#if:{{{nosection|}}}||or section}}
   | Wikipedia talk = [[Wikipedia:Project namespace|project talk page]] {{#if:{{{nosection|}}}||or section}}
+
   | TTSCpedia talk = project talk page {{#if:{{{nosection|}}}||or section}}
 
   | article {{#if:{{{nosection|}}}||or section}}
 
   | article {{#if:{{{nosection|}}}||or section}}
 
  }}}} '''is in the process of an expansion or major restructuring{{#if:{{{notready|}}}
 
  }}}} '''is in the process of an expansion or major restructuring{{#if:{{{notready|}}}
Line 22: Line 22:
 
   }}.
 
   }}.
 
  }} If this {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACE}}
 
  }} If this {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACE}}
   | Talk          = [[Help:Talk page|talk page]]
+
   | Talk          = talk page
   | Category      = [[Wikipedia:Category|category page]]
+
   | Category      = category page
   | Help          = [[Help:Contents|help page]]
+
   | Help          = help page
   | Portal        = [[Wikipedia:Portal|portal]]
+
   | Portal        = portal
   | Template      = [[Wikipedia:Template messages|template page]]
+
   | Template      = template page
   | User          = [[Wikipedia:User pages|user page]]
+
   | User          = user page
   | User talk      = [[Wikipedia:User pages|user talk page]]
+
   | User talk      = user talk page
   | Wikipedia     = [[Wikipedia:Project namespace|project page]]
+
   | TTSCpedia     = project page
   | Wikipedia talk = [[Wikipedia:Project namespace|project talk page]]
+
   | TTSCpedia talk = project talk page
 
   | article {{#if:{{{nosection|}}}||or section}}
 
   | article {{#if:{{{nosection|}}}||or section}}
 
  }}}} <span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} has not been edited in several days]</span>, please remove this template.<br />''If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{tlx|in use}} during the active editing session''. Click on the link for template parameters to use.
 
  }}}} <span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=history}} has not been edited in several days]</span>, please remove this template.<br />''If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{tlx|in use}} during the active editing session''. Click on the link for template parameters to use.

Latest revision as of 02:36, 22 February 2019

Template documentation[view] [edit] [history] [purge]

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 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:

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= }}

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 age 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

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.

ParameterDescriptionTypeStatus
Alternate imagealtimage

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

Example
[[File:TTSCpedia orange construction icon.svg|64px]]
Fileoptional
Sectionsection

Replaces phrase "article" with "section"

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
[[User:Jack]]
Userrequired
Commentcomment

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
CategoryCategory

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

== See also ==\