Template:Under construction/doc: Difference between revisions

From EnigmaGuy Wiki
Jump to navigation Jump to search
m 1 revision imported
 
(No difference)

Latest revision as of 09:47, 16 August 2015

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:Template:Under construction
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

{{#if:||{{#ifeq:Under construction/doc|Under construction|}}}}

Usage

Script error: No such module "main".

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 used on a non-article page (such as a user page) which is not yet ready for use, type {{{{#if: |subst:}}Under construction{{#if:notready=true ||notready=true}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}. That will produce the following:

{{#if: |

}}{{#ifeq:true|true||{{#switch:Template

|User
|User talk=
|#default=

}}}}

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 category (must be prefixed with the "Category:" namespace identifier and enclosed in double square brackets). If omitted, and the template is not used in either the "User:" or "User talk:" namespaces, the page is placed in Category:Pages actively undergoing construction.
  • comment - free-form text. If present, the text "Contributor note:" is shown followed by the content of |{{#if:comment|comment=}}.
  • nocat - set to true to not include the page in Category:Pages actively undergoing construction. Set to anything but true or don't set it at all, and it will be included there.
  • 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.

See also