Template:ToApprove: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Jitse Niesen
(undo the "revert myself" - I think the error message is harmless)
imported>Jitse Niesen
(add now field - see talk)
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.  {{#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 editor currently supports the approval ([[User:{{{editor2}}}|{{{editor2}}}]]).}} |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.}}
|style="background:lightgreen"| [[Image:toapprove.png|left]] '''[[User:{{{editor}}}|{{{editor}}}]]''' has nominated [{{{url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|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 editor currently supports the approval ([[User:{{{editor2}}}|{{{editor2}}}]]).}} |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 24: Line 24:
{{ToApprove
{{ToApprove
|url =  
|url =  
|now =
|editor=
|editor=
|editor2=
|editor2=
Line 35: Line 36:
</pre>
</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
'''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
'''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)
'''editor''' = the username of the person who did the approval (or who nominated the article on behalf of a group of people)

Revision as of 09:57, 9 May 2007

Toapprove.png
[[User:{{{editor}}}|{{{editor}}}]] has nominated [{{{url}}} this version] of this article for approval. 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 = 
|now =
|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

now = the date and time when the template is added. Use ~~~~~ (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)

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