Template:NeedPage/doc View history

(Added note on category)
(building template; Added things for Construction page temporarily)
Line 1: Line 1:
{{doc subpage}}
{{doc subpage}}
This template is added to new pages that do not yet exist to prevent a user from getting the create page link when they select it. The current person editing the page may not have have the information yet or is unable to add it at this time.  
This template is added to new pages that do not yet exist to prevent a user from getting the create page link when they select it. The current person editing the page may not have have the information yet or is unable to add it at this time.  
If preliminary information is being saved in preparation for creating the page content, consider placing the data on the talk page and put a link to it from the page below this template.


=== Usage ===
=== Usage ===
Place {{tl|NeedPage}} at the top of a new page to produce the message box.
Place {{tl|NeedPage}} at the top of a new page to produce the message box with the default message.
 
Alternately the following optional variables can be used in place of the generic message
 
<pre>
{{NeedPage
| text      = <div>The text to be displayed in the box. The DIV function helps keep the text and line breaks as desired.</div>
| textstyle  = color: red;
| contact    = [ESCAPED URL] (Template will fill in rest.)
}}
</pre>
 
 
=== Parameters ===
 
List of all parameters:
 
<pre>
{{NeedPage
| contact =
| open = yes / no
| style = CSS values
| text  = The message body text.
| textstyle = CSS values
}}
</pre>
 
'''contact'''
:Optional URL linking to location where other editors should send messages on this page.
 
'''Open'''
:Optional indicator if other input is desired or not. <code>Yes</code> displays "This page is open to changes from anyone during construction."
 
'''style'''
:Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
 
'''text'''
:The message body text.
 
'''textstyle'''
:Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example:
::<code>textstyle = text-align: center;</code>


If preliminary information is being saved in preparation for creating the page content, consider placing the data on the talk page and put a link to it from the page below this template.


=== Where used ===
=== Where used ===

Revision as of 15:44, 25 February 2014

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

This template is added to new pages that do not yet exist to prevent a user from getting the create page link when they select it. The current person editing the page may not have have the information yet or is unable to add it at this time.

If preliminary information is being saved in preparation for creating the page content, consider placing the data on the talk page and put a link to it from the page below this template.

Usage

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

Alternately the following optional variables can be used in place of the generic message

{{NeedPage
| text       = <div>The text to be displayed in the box. The DIV function helps keep the text and line breaks as desired.</div>
| textstyle  = color: red;
| contact    = [ESCAPED URL] (Template will fill in rest.)
}}


Parameters

List of all parameters:

{{NeedPage
| contact = 
| open = yes / no
| style = CSS values
| text  = The message body text.
| textstyle = CSS values
}}

contact

Optional URL linking to location where other editors should send messages on this page.

Open

Optional indicator if other input is desired or not. Yes displays "This page is open to changes from anyone during construction."

style

Optional CSS values used by the entire message box table. Without quotation marks " " but with the ending semicolons ;. For example:
style = margin-bottom: 0.5em;

text

The message body text.

textstyle

Optional CSS values used by the text cell. For example:
textstyle = text-align: center;


Where used

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

Note that pages with this template will not be seen in the Special:WantedPages so use the above "what links here instead."

Category added

This template will automatically add the Category:NeedPage to the page for tracking. You see a similar list to the What Links Here above.