Difference between revisions of "Template:GOCE-new-drive-page/doc"

From blackwiki
Jump to navigation Jump to search
imported>Baffle gab1978
(→‎Parameters: fixed minor ommisions (Blitz --> Drive))
imported>Jonesey95
(Redoing parameters for clarity, simplicity. Enhancing template.)
Line 7: Line 7:
 
| image = [[File:Imbox notice.png|32px|alt=|link=]]
 
| image = [[File:Imbox notice.png|32px|alt=|link=]]
 
| text = '''This template should always be [[Help:Substitution|substituted]]''', i.e. use <!--
 
| text = '''This template should always be [[Help:Substitution|substituted]]''', i.e. use <!--
  -->{{#ifeq:{{NAMESPACE}}:{{BASEPAGENAME}}|Template:Subst only |{{braces|[[Wikipedia:Substitution|subst]]:'''''Template name'''''}} |{{template other|{{tlsp|GOCE-New-Blitz-page}}|{{tlsu|{{FULLPAGENAME}}}}}}}}. <!--
+
  -->{{#ifeq:{{NAMESPACE}}:{{BASEPAGENAME}}|Template:Subst only |{{braces|[[Wikipedia:Substitution|subst]]:'''''Template name'''''}} |{{template other|{{tlsp|GOCE-new-drive-page}}|{{tlsu|{{FULLPAGENAME}}}}}}}}. <!--
 
  -->{{#if:{{yesno|no}} |Any accidental transclusions will be automatically substituted by a bot.{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}} |[[Category:Wikipedia templates to be automatically substituted]]}}}} <!--
 
  -->{{#if:{{yesno|no}} |Any accidental transclusions will be automatically substituted by a bot.{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}} |[[Category:Wikipedia templates to be automatically substituted]]}}}} <!--
 
  -->{{#if: |For transcluding, use {{tl|}} instead.}}
 
  -->{{#if: |For transcluding, use {{tl|}} instead.}}
 
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}} |[[Category:Wikipedia substituted templates]]}}
 
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}} |[[Category:Wikipedia substituted templates]]}}
  
Use this template to populate a newly-created [[WP:GOCE|Guild of Copy Editors]] Drive page. It '''must always''' be substituted; if transcluded you won't be able to edit the Drive page normally.
+
Use this template to populate a newly-created [[WP:GOCE|Guild of Copy Editors]] Drive page. It '''must always''' be substituted; if it is transcluded, you won't be able to edit the Drive page normally.
  
 
<code><nowiki>{{subst:GOCE-new-drive-page}}</nowiki></code>
 
<code><nowiki>{{subst:GOCE-new-drive-page}}</nowiki></code>
Line 18: Line 18:
 
===Parameters===
 
===Parameters===
 
The table below shows the parameters that will populate the Drive page with the usual variables. If any are omitted, the Drive page can be edited as normal and the variables added. Omitted variables will not appear in the resulting Drive page.
 
The table below shows the parameters that will populate the Drive page with the usual variables. If any are omitted, the Drive page can be edited as normal and the variables added. Omitted variables will not appear in the resulting Drive page.
 
*Exceptions: The date/year variables used in the "Signing up" section and the chart in the "Progress" section must still be completed manually. <!--If this can be fixed, please do so and remove this sentence.-->
 
 
{|class="wikitable"
 
{|class="wikitable"
 
!Parameters || Variable || Notes
 
!Parameters || Variable || Notes
 
|-
 
|-
| <nowiki>|date=</nowiki> || Drive Start date in any format ||
+
| <nowiki>|start-date=</nowiki> || Drive start date in any format ||The first day of the drive month, e.g. 1 February 2015
|-
 
| <nowiki>|date2=</nowiki> ||Drive End date in any format ||
 
|-
 
|<nowiki>|bmonth1=</nowiki>|| earliest backlog month || include punctuation and "and" in the template markup
 
|-
 
|<nowiki>|bmonth2=</nowiki>|| second-earliest backlog month ||
 
|-
 
|<nowiki>|bmonth3=</nowiki>|| third-earliest backlog month ||
 
|-
 
|<nowiki>|rmonth1=</nowiki>|| earliest month of requests||
 
 
|-
 
|-
|<nowiki>|rmonth2=</nowiki>|| second-earliest month of requests||
+
| <nowiki>|end-date=</nowiki> ||Drive end date in any format ||The last day of the drive month, e.g. 28 February 2015
 
|-
 
|-
|<nowiki>|rmonth3=</nowiki>|| third-earliest month of requests||
+
|<nowiki>|backlog-months=</nowiki>|| backlog months || include punctuation and "and" in the template markup
 
|-
 
|-
|<nowiki>|LCoord=</nowiki>|| lead coordinator's username || <nowiki>Use {{subst:User0|Example}} or [[User:Example|Example]] ([[User talk:Example|talk]]) for all coordinator usernames.</nowiki>
+
|<nowiki>|request-months=</nowiki>|| request month(s)||include punctuation and "and" in the template markup
 
|-
 
|-
|<nowiki>|Coord1=</nowiki>|| first coordinator's username ||
+
|<nowiki>|previous-drive=</nowiki>|| previous drive's month and year||full month name, starting with capital letter, e.g. December 2014
 
|-
 
|-
|<nowiki>|Coord2=</nowiki>|| second coordinator's username ||
+
|<nowiki>|this-drive=</nowiki>|| this drive's month and year||full month name, starting with capital letter, e.g. February 2015
 
|-
 
|-
|<nowiki>|Coord3=</nowiki>|| third coordinator's username ||
+
|<nowiki>|lead-coordinator=</nowiki>|| lead coordinator's username || <nowiki>Use {{subst:User0|Example}} or [[User:Example|Example]] ([[User talk:Example|talk]]) for all coordinator usernames.</nowiki>
 
|-
 
|-
|<nowiki>|Coord4=</nowiki>|| fourth coordinator's username || if further coordinator names are needed, alter the template accordingly
+
|<nowiki>|coordinators=</nowiki>|| coordinators' usernames || list all coordinators' names (see example)
 
|}
 
|}
  
Line 58: Line 46:
 
<br/><br/>
 
<br/><br/>
 
<nowiki>{{subst:GOCE-new-drive-page</nowiki>
 
<nowiki>{{subst:GOCE-new-drive-page</nowiki>
:<nowiki>| date=1 February 2015</nowiki>
+
:<nowiki>| start-date=1 February 2015</nowiki>
:<nowiki>| date2=28 February 2015</nowiki>
+
:<nowiki>| end-date=28 February 2015</nowiki>
:<nowiki>| bmonth1=September, </nowiki>
+
:<nowiki>| backlog-months=September, October and November 2013</nowiki>
:<nowiki>| bmonth2=October and</nowiki>
+
:<nowiki>| request-months=November and December 2014</nowiki>
:<nowiki>| bmonth3=November 2013</nowiki>
+
:<nowiki>| previous-drive=December 2014</nowiki>
:<nowiki>| rmonth1=November and</nowiki>
+
:<nowiki>| this-drive=February 2015</nowiki>
:<nowiki>| rmonth2=December 2014, and</nowiki>
+
:<nowiki>| lead-coordinator={{subst:User0|Example}}</nowiki>
:<nowiki>| rmonth3=January 2015</nowiki>
+
:<nowiki>| coordinators={{subst:User0|Example1}}, {{subst:User0|Example2}} and {{subst:User0|Example3}}</nowiki>
:<nowiki>| LCoord={{subst:User0|Example}}</nowiki>
 
:<nowiki>| Coord1={{subst:User0|Example1}} and</nowiki>
 
:<nowiki>| Coord2={{subst:User0|Example2.}} }}</nowiki>
 
 
|
 
|
  
Line 76: Line 61:
 
:Remove any parameters that are not required. <br/><br/>
 
:Remove any parameters that are not required. <br/><br/>
 
<nowiki>{{subst:GOCE-new-drive-page</nowiki>
 
<nowiki>{{subst:GOCE-new-drive-page</nowiki>
:<nowiki>| date=</nowiki>
+
:<nowiki>| start-date=</nowiki>
:<nowiki>| date2=</nowiki>
+
:<nowiki>| end-date=</nowiki>
:<nowiki>| bmonth1=</nowiki>
+
:<nowiki>| backlog-months=</nowiki>
:<nowiki>| bmonth2=</nowiki>
+
:<nowiki>| request-months=</nowiki>
:<nowiki>| bmonth3=</nowiki>
+
:<nowiki>| previous-drive=</nowiki>
:<nowiki>| rmonth1=</nowiki>
+
:<nowiki>| this-drive=</nowiki>
:<nowiki>| rmonth2=</nowiki>
+
:<nowiki>| lead-coordinator={{subst:User0|}}</nowiki>
:<nowiki>| rmonth3=</nowiki>
+
:<nowiki>| coordinators=={{subst:User0|}}</nowiki>
:<nowiki>| LCoord={{subst:User0|}}</nowiki>
 
:<nowiki>| Coord1={{subst:User0|}}</nowiki>
 
:<nowiki>| Coord2={{subst:User0|}}</nowiki>
 
:<nowiki>| Coord3={{subst:User0|}}</nowiki>
 
:<nowiki>| Coord4={{subst:User0|}} }}</nowiki>
 
 
|} {{div col end}}
 
|} {{div col end}}
 
<includeonly>
 
<includeonly>

Revision as of 00:15, 7 March 2015

Usage

Use this template to populate a newly-created Guild of Copy Editors Drive page. It must always be substituted; if it is transcluded, you won't be able to edit the Drive page normally.

{{subst:GOCE-new-drive-page}}

Parameters

The table below shows the parameters that will populate the Drive page with the usual variables. If any are omitted, the Drive page can be edited as normal and the variables added. Omitted variables will not appear in the resulting Drive page.

Parameters Variable Notes
|start-date= Drive start date in any format The first day of the drive month, e.g. 1 February 2015
|end-date= Drive end date in any format The last day of the drive month, e.g. 28 February 2015
|backlog-months= backlog months include punctuation and "and" in the template markup
|request-months= request month(s) include punctuation and "and" in the template markup
|previous-drive= previous drive's month and year full month name, starting with capital letter, e.g. December 2014
|this-drive= this drive's month and year full month name, starting with capital letter, e.g. February 2015
|lead-coordinator= lead coordinator's username Use {{subst:User0|Example}} or [[User:Example|Example]] ([[User talk:Example|talk]]) for all coordinator usernames.
|coordinators= coordinators' usernames list all coordinators' names (see example)