Template:Approval: Difference between revisions
imported>David Still m (rm ~) |
imported>Chris Day No edit summary |
||
Line 1: | Line 1: | ||
{{{!}}class=noprint width=80% border="0" cellpadding="5" cellspacing="0" style="text-align: left; border-bottom:2px solid #aaaaaa; border-top:2px solid #dddddd; border-left:2px solid #bbbbbb; border-right:2px solid #dddddd; border-collapse:collapse" | |||
{{!}}style="background:ffffff"{{!}} '''[[User:{{{ToA editor}}}|{{{ToA editor}}}]]''' <!-- | |||
-- | |||
= | |||
***This determines what was up for approval; the whole cluster, a subpage, the article or both.*** | |||
{{{ | -->{{#if:{{{cluster|}}} | ||
|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:{{{subpage url|}}} | |||
|nominated [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of the article as well as [{{{subpage url}}} one subpage] for approval. | |||
|nominated [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of this article for approval.}} | |||
|{{#if:{{{subpage url|}}} | |||
|nominated [{{{subpage url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of a subpage in this cluster for approval. | |||
|nominated this article for approval. }} }} }} <!-- | |||
***This code adds the approval editors names, up to three can be added.*** | |||
-->{{#if:{{{ToA editor2|}}} | |||
|{{#if:{{{ToA editor3|}}} | |||
|Two other editors supported the approval ([[User:{{{ToA editor2}}}|{{{ToA editor2}}}]] and [[User:{{{ToA editor3}}}|{{{ToA editor3}}}]]). | |||
|One other editor supported the approval ([[User:{{{ToA editor2}}}|{{{ToA editor2}}}]]).}} | |||
|}} <!-- | |||
* | ***This code adds the workgroup names, upto three can be used from the metadata page.*** | ||
-->The {{#if:{{{group}}} | |||
|{{#if:{{{group2|}}} | |||
|{{#if:{{{group3|}}} | |||
|[[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]]}} | |||
|an unknown workgroup}} oversaw this approval. <!-- | |||
* | ***This code adds the date for approval unless no url has been specificed.*** | ||
''' | -->{{#if:{{{cluster|}}} | ||
|The cluster was approved on or around '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.''' | |||
|{{#if:{{{article url|}}} | |||
|The article was approved on or around '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.''' | |||
|{{#if:{{{subpage url|}}} | |||
|The subpage was approved on or around '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.''' | |||
|}} }} }} | |||
{{!}}}<noinclude> | |||
==Usage== | |||
This template is used to document the approval process on the Approval subpage of an article. After the approval process is complete the ToApprove metadata should be deleted from the Metadata subpages and pasted into this template on the Approval subpage. For more information about the process, see [[CZ:Approval Process]]. | |||
The template fields include: | |||
<pre> | |||
{{Approval | |||
|article url = | |||
|subpage url = | |||
|cluster = | |||
|now = | |||
|ToA editor= | |||
|ToA editor2= | |||
|ToA editor3= | |||
|group= | |||
|group2= | |||
|group3= | |||
|date = | |||
}} | |||
</pre> | |||
==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 was added. | |||
'''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) | |||
</noinclude> |
Revision as of 09:20, 21 August 2007
Usage
This template is used to document the approval process on the Approval subpage of an article. After the approval process is complete the ToApprove metadata should be deleted from the Metadata subpages and pasted into this template on the Approval subpage. For more information about the process, see CZ:Approval Process.
The template fields include:
{{Approval |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 was added.
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)