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

From blackwiki
Jump to navigation Jump to search
imported>Baffle gab1978
(tweaks)
imported>Vanisaac
m (→‎Easy-to-use copy-and-paste version: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
 
== Usage ==
 
== Usage ==
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
{{Ombox
 
{{Ombox
 
| type = notice
 
| type = notice
| image = [[File:Imbox notice.png|32px|alt=|link=]]
+
| image = [[File:Information icon4.svg|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 (see copy-and-paste example at the bottom of this page); if it is transcluded, you won't be able to edit the Drive page normally.
 
 
<code><nowiki>{{subst:GOCE-new-drive-page}}</nowiki></code>
 
  
 
===Parameters===
 
===Parameters===
The table below shows the parameters that will populate the Blitz page with the usual variables. If any are omitted, the Blitz page can be edited as normal and the variables added. Omitted variables will not appear in the resulting Blitz 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 ||
+
|{{nowrap|<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 ||
+
|{{nowrap|<nowiki>|end-date=</nowiki>}}||Drive end date in any format ||The last day of the drive month, e.g. '''28 February 2015'''
 
|-
 
|-
|<nowiki>|bmonth1=</nowiki>|| earliest backlog month || include punctuation and "and" in the template markup
+
|{{nowrap|<nowiki>|backlog-months=</nowiki>}}|| backlog months || include punctuation and "and" in the template markup
 
|-
 
|-
|<nowiki>|bmonth2=</nowiki>|| second-earliest backlog month ||
+
|{{nowrap|<nowiki>|request-months=</nowiki>}}|| request month(s)||include punctuation and "and" in the template markup
 
|-
 
|-
|<nowiki>|bmonth3=</nowiki>|| third-earliest backlog month ||
+
|{{nowrap|<nowiki>|previous-drive=</nowiki>}}|| previous drive's month and year||full month name and year, starting with capital letter, e.g. '''December 2014'''
 
|-
 
|-
|<nowiki>|rmonth1=</nowiki>|| earliest month of requests||
+
|{{nowrap|<nowiki>|this-drive=</nowiki>}}|| this drive's month and year||full month name and year, starting with capital letter, e.g. '''February 2015'''
 
|-
 
|-
|<nowiki>|rmonth2=</nowiki>|| second-earliest month of requests||
+
|{{nowrap|<nowiki>|lead-coordinator=</nowiki>}}|| lead coordinator's username || <nowiki>Use {{subst:User0|Example}} for all coordinator usernames.</nowiki>
 
|-
 
|-
|<nowiki>|rmonth3=</nowiki>|| third-earliest month of requests||
+
|{{nowrap|<nowiki>|coordinators=</nowiki>}}|| coordinators' usernames || list all coordinators' names (see example)
|-
 
|<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>|Coord1=</nowiki>|| first coordinator's username ||
 
|-
 
|<nowiki>|Coord2=</nowiki>|| second coordinator's username ||
 
|-
 
|<nowiki>|Coord3=</nowiki>|| third coordinator's username ||
 
|-
 
|<nowiki>|Coord4=</nowiki>|| fourth coordinator's username || if further coordinator names are needed, alter the template accordingly
 
 
|}
 
|}
  
{{col-begin|width=100%}}
 
|-
 
|
 
 
===Example===
 
===Example===
 
This is an example of how to use the template.
 
This is an example of how to use the template.
<br/><br/>
+
<pre>
<nowiki>{{subst:GOCE-new-drive-page</nowiki>
+
{{subst:GOCE-new-drive-page
:<nowiki>| date=1 February 2015</nowiki>
+
| start-date=1 February 2015
:<nowiki>| date2=28 February 2015</nowiki>
+
| end-date=28 February 2015
:<nowiki>| bmonth1=September, </nowiki>
+
| backlog-months=September, October and November 2013
:<nowiki>| bmonth2=October and</nowiki>
+
| request-months=November and December 2014
:<nowiki>| bmonth3=November 2013</nowiki>
+
| previous-drive=December 2014
:<nowiki>| rmonth1=November and</nowiki>
+
| this-drive=February 2015
:<nowiki>| rmonth2=December 2014, and</nowiki>
+
| lead-coordinator={{subst:User0|Example}}
:<nowiki>| rmonth3=January 2015</nowiki>
+
| coordinators={{subst:User0|Example1}}, {{subst:User0|Example2}} and {{subst:User0|Example3}}
:<nowiki>| LCoord={{subst:User0|Example}}</nowiki>
+
}}</pre>
:<nowiki>| Coord1={{subst:User0|Example1}} and</nowiki>
+
 
:<nowiki>| Coord2={{subst:User0|Example2.}} }}</nowiki>
+
===Easy-to-use copy-and-paste version===
|
+
:Copy and paste the empty template below into the new Drive page.
 +
:Fill in the parameters as shown in the example.
 +
:Remove any parameters that are not required.
 +
<pre>
 +
{{subst:GOCE-new-drive-page
 +
| start-date=
 +
| end-date=
 +
| backlog-months=
 +
| request-months=
 +
| previous-drive=
 +
| this-drive=
 +
| lead-coordinator={{subst:User0|}}
 +
| coordinators={{subst:User0|}} and {{subst:User0|}}
 +
}}</pre>
  
===Easy-to-use cut-and-paste version (full)===
+
<includeonly>{{Sandbox other||
:Copy-and-paste the template below into the new Drive page.
 
:Fill in the parameters as shown in the example.
 
:Remove any parameters that are not required. <br/><br/>
 
<nowiki>{{subst:GOCE-new-drive-page</nowiki>
 
:<nowiki>| date=</nowiki>
 
:<nowiki>| date2=</nowiki>
 
:<nowiki>| bmonth1=</nowiki>
 
:<nowiki>| bmonth2=</nowiki>
 
:<nowiki>| bmonth3=</nowiki>
 
:<nowiki>| rmonth1=</nowiki>
 
:<nowiki>| rmonth2=</nowiki>
 
:<nowiki>| rmonth3=</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}}
 
<includeonly>
 
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
[[Category:Guild of Copy Editors templates]]
+
[[Category:WikiProject Guild of Copy Editors templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 15:51, 25 April 2020


Usage

Use this template to populate a newly created Guild of Copy Editors Drive page. It must always be substituted (see copy-and-paste example at the bottom of this page); if it is transcluded, you won't be able to edit the Drive page normally.

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 and year, starting with capital letter, e.g. December 2014
|this-drive= this drive's month and year full month name and year, starting with capital letter, e.g. February 2015
|lead-coordinator= lead coordinator's username Use {{subst:User0|Example}} for all coordinator usernames.
|coordinators= coordinators' usernames list all coordinators' names (see example)

Example

This is an example of how to use the template.

{{subst:GOCE-new-drive-page
| start-date=1 February 2015
| end-date=28 February 2015
| backlog-months=September, October and November 2013
| request-months=November and December 2014
| previous-drive=December 2014
| this-drive=February 2015
| lead-coordinator={{subst:User0|Example}}
| coordinators={{subst:User0|Example1}}, {{subst:User0|Example2}} and {{subst:User0|Example3}}
}}

Easy-to-use copy-and-paste version

Copy and paste the empty template below into the new Drive page.
Fill in the parameters as shown in the example.
Remove any parameters that are not required.
{{subst:GOCE-new-drive-page
| start-date=
| end-date=
| backlog-months=
| request-months=
| previous-drive=
| this-drive=
| lead-coordinator={{subst:User0|}}
| coordinators={{subst:User0|}} and {{subst:User0|}}
}}