Difference between revisions of "Template:GOCE-new-drive-page/doc"
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- | + | -->{{#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. | ||
− | |||
− | |||
{|class="wikitable" | {|class="wikitable" | ||
!Parameters || Variable || Notes | !Parameters || Variable || Notes | ||
|- | |- | ||
− | | <nowiki>|date=</nowiki> || Drive | + | | <nowiki>|start-date=</nowiki> || Drive start date in any format ||The first day of the drive month, e.g. 1 February 2015 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | |<nowiki>| | + | | <nowiki>|end-date=</nowiki> ||Drive end date in any format ||The last day of the drive month, e.g. 28 February 2015 |
|- | |- | ||
− | |<nowiki>| | + | |<nowiki>|backlog-months=</nowiki>|| backlog months || include punctuation and "and" in the template markup |
|- | |- | ||
− | |<nowiki>| | + | |<nowiki>|request-months=</nowiki>|| request month(s)||include punctuation and "and" in the template markup |
|- | |- | ||
− | |<nowiki>| | + | |<nowiki>|previous-drive=</nowiki>|| previous drive's month and year||full month name, starting with capital letter, e.g. December 2014 |
|- | |- | ||
− | |<nowiki>| | + | |<nowiki>|this-drive=</nowiki>|| this drive's month and year||full month name, starting with capital letter, e.g. February 2015 |
|- | |- | ||
− | |<nowiki>| | + | |<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>| | + | |<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>| | + | :<nowiki>| end-date=28 February 2015</nowiki> |
− | :<nowiki>| | + | :<nowiki>| backlog-months=September, October and November 2013</nowiki> |
− | + | :<nowiki>| request-months=November and December 2014</nowiki> | |
− | + | :<nowiki>| previous-drive=December 2014</nowiki> | |
− | :<nowiki>| | + | :<nowiki>| this-drive=February 2015</nowiki> |
− | :<nowiki>| | + | :<nowiki>| lead-coordinator={{subst:User0|Example}}</nowiki> |
− | :<nowiki>| | + | :<nowiki>| coordinators={{subst:User0|Example1}}, {{subst:User0|Example2}} and {{subst:User0|Example3}}</nowiki> |
− | :<nowiki>| | ||
− | :<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>| | + | :<nowiki>| end-date=</nowiki> |
− | :<nowiki>| | + | :<nowiki>| backlog-months=</nowiki> |
− | :<nowiki>| | + | :<nowiki>| request-months=</nowiki> |
− | :<nowiki>| | + | :<nowiki>| previous-drive=</nowiki> |
− | :<nowiki>| | + | :<nowiki>| this-drive=</nowiki> |
− | :<nowiki>| | + | :<nowiki>| lead-coordinator={{subst:User0|}}</nowiki> |
− | + | :<nowiki>| coordinators=={{subst:User0|}}</nowiki> | |
− | |||
− | :<nowiki>| | ||
− | |||
− | |||
− | |||
|} {{div col end}} | |} {{div col end}} | ||
<includeonly> | <includeonly> |
Revision as of 00:15, 7 March 2015
Usage
![]() | This is a documentation subpage for Template:GOCE-new-drive-page. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template should always be substituted, i.e. use {{subst:GOCE-new-drive-page}}. |
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) |
ExampleThis is an example of how to use the template.
|
Easy-to-use cut-and-paste version (full)
{{subst:GOCE-new-drive-page
|