Template:Checklist5: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(remove fourth editor)
imported>Chris Day
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{ToA editor|}}}<!--
{{#if:{{{ToA editor| }}}|<!--


***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section.***
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section.***


-->|<includeonly>
--><includeonly>
{{#ifeq:{{SUBPAGENAME}}|Approval|[[Category:{{{group}}} to Approve]] [[Category:Articles to Approve]]}}
{{#ifeq:{{SUBPAGENAME}}|Approval|[[Category:{{{group}}} to Approve]] [[Category:Articles to Approve]]}}
</includeonly>
</includeonly>
{{{!}}class=noprint width=100% border="0" cellpadding="5" cellspacing="0" style="text-align: left; border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff; border-collapse:collapse"
{{{!}}class=noprint width=80% border="0" cellpadding="5" cellspacing="0" style="text-align: left; border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #eeeeee; border-collapse:collapse"
{{@}}
{{!}}style="background:lightgreen"{{!}} [[Image:toapprove.png|left]] '''[[User:{{{ToA editor}}}|{{{ToA editor}}}]]''' <!--
{{!}}style="background:lightgreen"{{!}} <div style="width:80%">[[Image:toapprove.png|left]] '''[[User:{{{ToA editor}}}|{{{ToA editor}}}]]''' has nominated <!--


***This determines what is up for approval; the whole cluster, a subpage, the article or both.***
***This determines what is up for approval; the whole cluster, a subpage, the article or both.***


-->{{#if:{{{cluster|}}}
-->{{#if:{{{cluster|}}}
               |the whole '''{{BASEPAGENAME}} Cluster''' for approval including [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of the article as well as all the subpages.  
               |has nominated the whole '''{{BASEPAGENAME}} Cluster''' for approval including [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of the article as well as all the subpages.  
               |{{#if:{{{article url|}}}
               |{{#if:{{{article url|}}}
                     |{{#if:{{{subpage url|}}}
                     |{{#if:{{{subpage url|}}}
                             |[{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of the article as well as [{{{subpage url}}} one subpage] for approval.
                             |has nominated [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of the article as well as [{{{subpage url}}} one subpage] for approval.
                             |[{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of this article for approval.}}
                             |has nominated [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of this article for approval.}}
                     |{{#if:{{{subpage url|}}}
                     |{{#if:{{{subpage url|}}}
                             |[{{{subpage url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of a subpage in this cluster for approval.
                             |has nominated [{{{subpage url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of a subpage in this cluster for approval.
                             |will be nominating this article for approval in the near future. }} }} }} <!--
                             |will be nominating this article for approval in the near future. }} }} }} <!--


Line 38: Line 37:
                     |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] and [[CZ:{{{group2}}} Workgroup|{{{group2}}} Workgroup]] are}}
                     |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] and [[CZ:{{{group2}}} Workgroup|{{{group2}}} Workgroup]] are}}
               |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] is}}
               |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] is}}
           |an unknown workgroup is}} overseeing this approval.  Unless this notice is removed, the article will be approved on '''{{#ifeq:{{{date}}} | {{{date}}} | {{AddDays|n=3}}}}.'''</div>
           |an unknown workgroup is}} overseeing this approval. <!--
{{!}}}
 
|}}<noinclude>
***This code adds the date for approval unless no url has been specificed.***
 
-->{{#if:{{{cluster|}}}
              |Unless this notice is removed, the cluster will be approved on '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.''' 
              |{{#if:{{{article url|}}}
                    |Unless this notice is removed, the article will be approved on '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.'''
                    |{{#if:{{{subpage url|}}}
                            |Unless this notice is removed, the subpage will be approved on  '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.'''
                            |}} }} }}
{{!}}} }}<noinclude>


==Usage==
==Usage==
Line 63: Line 71:
}}
}}
</pre>
</pre>
'''Type of approvel''':
==Type of approval==
:'''Whole cluster''' use the article url and the cluster field.   
 
:'''Article only''' use the article url and leave the cluster field blank.   
:'''Whole cluster''' use the ''article url'' and the ''cluster'' field.   
:'''Subpage only''' us the subpage url field and leave the cluster blank.  
:'''Article only''' use the ''article url'' and leave the ''cluster'' field blank.   
:'''Article and ONE subpage''' use both the article and subpage url's but leave the cluster field blank.
:'''Subpage only''' us the ''subpage url'' field and leave the ''cluster'' field blank.  
::'''article url''' = the location in the page history where the version-to-approve lives.
:'''Article and ONE subpage''' use both the ''article and subpage url'' fields but leave the ''cluster'' field blank.
::'''subpage url''' = the location in the page history where the version-to-approve lives.
==Parameters==
::'''cluster''' = add text here if the whole cluster needs to be approved, otherwise leave blank.
'''article url''' = the location in the page history where the version-to-approve lives.
 
'''subpage url''' = the location in the page history where the version-to-approve lives.
 
'''cluster''' = add text here if the whole cluster needs to be approved, otherwise leave blank.


'''now''' = the date and time when the template is added. Use <nowiki>~~~~~</nowiki> (five tildes) to let the computer generate it automatically.
'''now''' = the date and time when the template is added. Use <nowiki>~~~~~</nowiki> (five tildes) to let the computer generate it automatically.


'''editor''' = the username of the person who did the approval (or who nominated the article on behalf of a group of people)
'''ToA editor''' = the username of the person who did the approval (or who nominated the article on behalf of a group of people)
 
'''editor2''' = second editor  (optional but must use before editor3 if only two editors approved)


'''editor3''' = third editor (optional but must use before editor4 if only three editors approved)
'''ToA editor2''' = second editor (optional but must use before editor3 if only two editors approved)


'''editor4''' = fourth editor will activate the email option to inform constables that the article is ready to be processed.
'''ToA editor3''' = third editor (optional)


'''group''' = must be an existing workgroup
'''group''' = must be an existing workgroup

Latest revision as of 13:22, 21 August 2007


Usage

Editors who want to nominate an article for approval should place this template on the top of the article talk page. For more information about the process, see CZ:Approval Process.

The template fields include:

{{ToChecklist5
|article url = 
|subpage url = 
|cluster =
|now =
|ToA editor=
|ToA editor2=
|ToA editor3=
|group=
|group2=
|group3=
|date =
}}

Type of approval

Whole cluster use the article url and the cluster field.
Article only use the article url and leave the cluster field blank.
Subpage only us the subpage url field and leave the cluster field blank.
Article and ONE subpage use both the article and subpage url fields but leave the cluster field blank.

Parameters

article url = the location in the page history where the version-to-approve lives.

subpage url = the location in the page history where the version-to-approve lives.

cluster = add text here if the whole cluster needs to be approved, otherwise leave blank.

now = the date and time when the template is added. Use ~~~~~ (five tildes) to let the computer generate it automatically.

ToA editor = the username of the person who did the approval (or who nominated the article on behalf of a group of people)

ToA editor2 = second editor (optional but must use before editor3 if only two editors approved)

ToA editor3 = third editor (optional)

group = must be an existing workgroup

group2 = second workgroup (optional but must use before group3 if only two workgroups)

group3 = third workgroup (optional)

date = format yyyymmdd (typically three days after "now", to allow copyedits and suggestions)