Template:Construction/doc View history

(Fixed template name in example)
m (remove template data)
 
(8 intermediate revisions by 3 users not shown)
Line 2: Line 2:
This template is added to pages that are undergoing major changes or initial developments.  
This template is added to pages that are undergoing major changes or initial developments.  


=== Usage ===
== Usage ==
Place {{tl|construction}} at the top of a new page to produce the default message box.
Place {{tl|construction}} at the top of a new page to produce the default message box.


Line 13: Line 13:
| draft      = yes or no
| draft      = yes or no
| open        = no
| open        = no
| revision    = yes
| section    = yes
| section    = yes
| talk        = yes
| talk        = yes
Line 18: Line 19:
</pre>
</pre>


=== Parameters ===
== Parameters ==


'''contact'''
'''contact'''
Line 31: Line 32:
'''open'''
'''open'''
:Optional indicator if other input is desired. Only with the presence of the {{para|contact}} parameter can you use {{para|<var>open</var>|<var>no</var>}} to display: <code>This page has already been identified as being needed. Content for this page is being prepared by one or more users. Do not make any changes before you </code> with the rest of the message coming from the {{para|contacttype}} parameter result. The default or empty {{para||open}} parameter will display: <code>This page has already been identified as being needed. This page is open to changes from anyone during construction.</code> Further, if the {{para|contact}} parameter is also set you will see: <code>If you have questions, please </code> with the rest of the message coming from the {{para|contacttype}} parameter result. Requires the {{para|contact}} parameter must be set to direct people with a URL.
:Optional indicator if other input is desired. Only with the presence of the {{para|contact}} parameter can you use {{para|<var>open</var>|<var>no</var>}} to display: <code>This page has already been identified as being needed. Content for this page is being prepared by one or more users. Do not make any changes before you </code> with the rest of the message coming from the {{para|contacttype}} parameter result. The default or empty {{para||open}} parameter will display: <code>This page has already been identified as being needed. This page is open to changes from anyone during construction.</code> Further, if the {{para|contact}} parameter is also set you will see: <code>If you have questions, please </code> with the rest of the message coming from the {{para|contacttype}} parameter result. Requires the {{para|contact}} parameter must be set to direct people with a URL.
'''revision'''
:The text can be altered to reflect the changes are based on a revision or a completely new set of information. This is related to the parameter {{para|draft}}, but fully independent of it. Use {{para|<var>revision</var>|<var>yes</var>}} for text saying it is a revision. Do not include that parameter or set it to anything else to result in text saying the information is new.


'''section'''
'''section'''
Line 38: Line 42:
:If the talk page is currently being or will be used for initial thoughts on the page, use {{para|<var>talk</var>|<var>yes</var>}} to display: <code>{{Template:Mbox/Text/Talk}}</code>
:If the talk page is currently being or will be used for initial thoughts on the page, use {{para|<var>talk</var>|<var>yes</var>}} to display: <code>{{Template:Mbox/Text/Talk}}</code>


=== Examples ===
== Examples ==
Review the page [[Template:Construction/Examples]] for how some of the parameter combinations will look on a page.
Review the page [[Template:Construction/Examples]] for how some of the parameter combinations will look on a page.


=== Where used ===
== Where used ==
Editors can find all occurrences of this template with the link to [[Special:WhatLinksHere/Template:Construction|what links here for the Construction template]].
Editors can find all occurrences of this template with the link to [[Special:WhatLinksHere/Template:Construction|what links here for the Construction template]].


=== Category added ===
== Category added ==
This template will automatically add the [http://wiki.waze.com/wiki/Category:Construction Category:Construction] to the page for tracking. You see a similar list to the What Links Here above.
This template will automatically add the [[:Category:Construction]] to the page for tracking. The parameter {{para|<var>revision</var>|<var>yes</var>}} will add [[:Category:Revision]], otherwise it will add [[:Category:New]].
 
== See also ==
* {{tl|mbox}}
* {{tl|AddCode}}


<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Maintenance Templates]]
[[Category:Maintenance templates]]
[[Category:Mbox templates]]


<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
</includeonly>

Latest revision as of 00:23, 16 February 2017

This is a documentation subpage for Template:Construction.
It contains usage information, categories and other content that is not part of the original template page.

This template is added to pages that are undergoing major changes or initial developments.

Usage

Place {{construction}} at the top of a new page to produce the default message box.

Alternately, the following optional variables can be used to adjust the generic message:

{{construction
| contact     = URL of forum or user
| contacttype = forum or user
| draft       = yes or no
| open        = no
| revision    = yes
| section     = yes
| talk        = yes
}}

Parameters

contact

Optional URL parameter for forum or private message. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. Requires |contacttype= to alter message appropriate for forum or individual user.

contacttype

Required if |contact= parameter is supplied. Optional message with URL linking to location where other editors should send messages on this page. Used with |open= parameter to control the message in the box. The |contacttype= parameter is completing this sentence If you have questions, please... When |contacttype=forum it displays: post a message in this forum. When |contacttype=user it displays: send a private message to this user.

draft

Optional parameter to display information on the quality or state of the content. Use |draft=yes to say the information is still draft form and not ready for use. Use |draft=no to say the information is accurate enough to be followed now. If the parameter is not included or is set to anything else, no text will be displayed regarding the draft condition.

open

Optional indicator if other input is desired. Only with the presence of the |contact= parameter can you use |open=no to display: This page has already been identified as being needed. Content for this page is being prepared by one or more users. Do not make any changes before you with the rest of the message coming from the |contacttype= parameter result. The default or empty |open parameter will display: This page has already been identified as being needed. This page is open to changes from anyone during construction. Further, if the |contact= parameter is also set you will see: If you have questions, please with the rest of the message coming from the |contacttype= parameter result. Requires the |contact= parameter must be set to direct people with a URL.

revision

The text can be altered to reflect the changes are based on a revision or a completely new set of information. This is related to the parameter |draft=, but fully independent of it. Use |revision=yes for text saying it is a revision. Do not include that parameter or set it to anything else to result in text saying the information is new.

section

The text can be altered to reflect the construction happening on the whole page (default) or just one or more sections. Use |section=yes for text covering just a section. Do not include that parameter or set it to anything else to result in text covering the whole page.

talk

If the talk page is currently being or will be used for initial thoughts on the page, use |talk=yes to display: Please use the talk page for thoughts and ideas on setting up this content.

Examples

Review the page Template:Construction/Examples for how some of the parameter combinations will look on a page.

Where used

Editors can find all occurrences of this template with the link to what links here for the Construction template.

Category added

This template will automatically add the Category:Construction to the page for tracking. The parameter |revision=yes will add Category:Revision, otherwise it will add Category:New.

See also