Template:ToApprove: Difference between revisions
imported>ZachPruckowski (date now optional (why in the name of all that is holy does this die on subst:AddDays?)) |
imported>Chris Day (try this rob) |
||
Line 4: | Line 4: | ||
{|align=center width=95% border="1" cellpadding="5" cellspacing="0" style="text-align: left" | {|align=center width=95% border="1" cellpadding="5" cellspacing="0" style="text-align: left" | ||
|- | |- | ||
|style="background:lightgreen"| [[Image:toapprove.png|left]] '''[[User:{{{editor}}}|{{{editor}}}]] has nominated [{{{url}}} this version] of this article for approval. The [[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] is overseeing this approval. Unless this notice is removed, the article will be approved on {{#if: {{{date|}}}|{{{date}}}|{{AddDays|n=3}} }}.''' | |style="background:lightgreen"| [[Image:toapprove.png|left]] '''[[User:{{{editor}}}|{{{editor}}}]] has nominated [{{{url}}} this version] of this article for approval. {{#if:{{{editor2}}}|{{#if:{{{editor3|}}}|{{#if:{{{editor4|}}}|Three other editors support the approval ([[User:{{{editor2}}}|{{{editor2}}}]], [[User:{{{editor3}}}|{{{editor3}}}]] and [[User:{{{editor4}}}|{{{editor4}}}]])|Two other editors currently support the approval ([[User:{{{editor2}}}|{{{editor2}}}]] and [[User:{{{editor3}}}|{{{editor3}}}]])|One other [[User:{{{editor2}}}|{{{editor2}}}]] currently supports the approval}} |Currently no other editors support approval}} 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]] is}}|an unknown workgroup is}} overseeing this approval. Unless this notice is removed, the article will be approved on {{#if: {{{date|}}}|{{{date}}}|{{AddDays|n=3}} }} {{#if:{{{editor4|}}}|Four editors have agreed to approval please contact the constables to process this approval [mailto:constables@citizendium.org constables@citizendium.org]|or when four editors have agreed to the approval.}}''' | ||
|}<!-- | |}<!-- | ||
Line 16: | Line 16: | ||
--> | --> | ||
<noinclude> | |||
==Usage== | |||
To be used at the top of approved articles. The template fields include: | |||
<pre> | |||
{{ToApprove | |||
|url = | |||
|editor= | |||
|editor2= | |||
|editor3= | |||
|editor4= | |||
|group= | |||
|group2= | |||
|group3= | |||
|date = | |||
}} | |||
</pre> | |||
'''url''' = the location in the page history where the version-to-approve lives. The sysop will paste this and only this version into the main page | |||
'''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) | |||
'''editor4''' = fourth editor will activate the email option to inform constables that the article is ready to be processed. | |||
'''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 | |||
</noinclude> |
Revision as of 00:35, 27 April 2007
[[User:{{{editor}}}|{{{editor}}}]] has nominated [{{{url}}} this version] of this article for approval. {{#if:{{{editor2}}}|Currently no other editors support approval The [[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] is overseeing this approval. Unless this notice is removed, the article will be approved on Error: Invalid time. or when four editors have agreed to the approval. |
Usage
To be used at the top of approved articles. The template fields include:
{{ToApprove |url = |editor= |editor2= |editor3= |editor4= |group= |group2= |group3= |date = }}
url = the location in the page history where the version-to-approve lives. The sysop will paste this and only this version into the main page
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)
editor4 = fourth editor will activate the email option to inform constables that the article is ready to be processed.
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