Template:TOAPPROVE stuff: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(notation)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{!}}class=noprint width=95% 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"
{{{!}}class=noprint width=95% 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|50px]] '''[[User:{{{ToA editor}}}|{{{ToA editor}}}]]''' <!--
{{!}}style="background:lightgreen"{{!}} [[Image:toapprove.png|left|50px]] '''{{#ifexist:User:{{{ToA editor}}}|[[User:{{{ToA editor}}}|{{{ToA editor}}}]]|{{{ToA editor}}}}}''' <!--


***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|}}}
               |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.  
               |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|}}}
                             |has nominated [{{{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.
                             |has nominated [{{{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|}}}
                             |has nominated [{{{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 18: Line 18:
-->{{#if:{{{ToA editor2|}}}
-->{{#if:{{{ToA editor2|}}}
           |{{#if:{{{ToA editor3|}}}
           |{{#if:{{{ToA editor3|}}}
               |Two other editors currently support the approval ([[User:{{{ToA editor2|}}}|{{{ToA editor2|}}}]] and [[User:{{{ToA editor3|}}}|{{{ToA editor3|}}}]]).
               |Two other editors currently support the approval ({{#ifexist:User:{{{ToA editor2}}}|[[User:{{{ToA editor2}}}|{{{ToA editor2}}}]]|{{{ToA editor2}}}}} and {{#ifexist:User:{{{ToA editor3}}}|[[User:{{{ToA editor3}}}|{{{ToA editor3}}}]]|{{{ToA editor3}}}}}).
               |One other editor currently supports the approval ([[User:{{{ToA editor2|}}}|{{{ToA editor2|}}}]]).}}  
               |One other editor currently supports the approval ({{#ifexist:User:{{{ToA editor2}}}|[[User:{{{ToA editor2}}}|{{{ToA editor2}}}]]|{{{ToA editor2}}}}}).}}  
           |Other editors may also sign to support approval.}} <!--
           |Other editors may also sign to support approval.}} <!--


***This code adds the workgroup names, upto three can be used from the metadata page.***
***This code adds the workgroup names, upto three can be used from the metadata page.***


-->The {{#if:{{{group|}}}
-->The {{#if:{{{group}}}
           |{{#if:{{{group2|}}}
           |{{#if:{{{group2|}}}
               |{{#if:{{{group3|}}}
               |{{#if:{{{group3|}}}
                     |[[CZ:{{{group|}}} Workgroup|{{{group|}}} Workgroup]], [[CZ:{{{group2|}}} Workgroup|{{{group2|}}} Workgroup]] and [[CZ:{{{group3|}}} Workgroup|{{{group3|}}} Workgroup]] are
                     |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]], [[CZ:{{{group2}}} Workgroup|{{{group2}}} Workgroup]] and [[CZ:{{{group3}}} Workgroup|{{{group3}}} Workgroup]] are
                     |[[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. <!--
           |an unknown workgroup is}} overseeing this approval. <!--


Line 35: Line 35:


-->{{#if:{{{cluster|}}}
-->{{#if:{{{cluster|}}}
               |Unless this notice is removed, the article will be approved on  '''{{#if: {{{date|}}}|{{{date|}}}|No date declared}}.'''   
               |Unless this notice is removed, the article will be approved on  '''{{#if: {{{date}}}|{{{date}}}|'''[http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit Need to fill metadata date field]'''}}.'''   
               |{{#if:{{{article url|}}}
               |{{#if:{{{article url|}}}
                     |Unless this notice is removed, the article will be approved on  '''{{#if: {{{date|}}}|{{{date|}}}|No date declared}}.'''
                     |Unless this notice is removed, the article will be approved on  '''{{#if: {{{date}}}|{{{date}}}|'''[http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit Need to fill metadata date field]'''}}.'''
                     |{{#if:{{{subpage url|}}}
                     |{{#if:{{{subpage url|}}}
                             |Unless this notice is removed, the article will be approved on  '''{{#if: {{{date|}}}|{{{date|}}}|No date declared}}.'''
                             |Unless this notice is removed, the article will be approved on  '''{{#if: {{{date}}}|{{{date}}}|'''[http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit Need to fill metadata date field]'''}}.'''
                             |}} }} }}
                             |}} }} }} <small>[[:Category:Articles_to_Approve|Other articles to approve]]</small>
{{!}}}<noinclude>
{{!}}}<!--
 
***This code adds the categories to indicate that the page the cluster is up for approval.  Workgroup specific categories are kept on the talk page while the more general articles for approval category is on the article page )in the case of a first time approval, or on the article/draft page for reapprovals.  It is this categories that also cauges the article to be listed on the recent changes page. See Template:Greenapprovalbar‎***
 
-->{{#ifeq:{{{namespace|}}}|Talk
            |{{#if:{{{group2|}}}
                |{{#if:{{{group3|}}}
                      |[[Category:{{{group}}} to Approve|{{{abc|}}}]][[Category:{{{group2}}} to Approve|{{{abc|}}}]][[Category:{{{group3}}} to Approve|{{{abc|}}}]]
                      |[[Category:{{{group}}} to Approve|{{{abc|}}}]][[Category:{{{group2}}} to Approve|{{{abc|}}}]]}}
                |[[Category:{{{group}}} to Approve|{{{abc|}}}]]}}
            |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|[[Category:Articles to Approve|{{{abc|}}}]] |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/Draft|[[Category:Articles to Approve|{{{abc|}}}]] |}} |}} }}<noinclude>


==Usage==
==Usage==
 
Editors who want to nominate an article for approval should enter the information into the metadata template for the specific article. This will cause this template to appear on pages in the cluster to alert other users of your plan. For more information about the process, see [[CZ:Approval Process]].
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:
The template fields include:


<pre>
<pre>
{{ToChecklist6
{{TOAPPROVE stuff
|article url =  
|article url =  
|subpage url =  
|subpage url =  

Latest revision as of 20:18, 17 May 2010

Toapprove.png
{{{ToA editor}}} will be nominating this article for approval in the near future. Other editors may also sign to support approval. The [[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] is overseeing this approval. Other articles to approve

[[Category:Articles to Approve|]]

Usage

Editors who want to nominate an article for approval should enter the information into the metadata template for the specific article. This will cause this template to appear on pages in the cluster to alert other users of your plan. For more information about the process, see CZ:Approval Process.

The template fields include:

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

Type of approvel

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)