Template:VI-closure-notice/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Usage[edit]

This template is used internally in {{VIC-thumb}} and {{VISC-thumb}} and produces an informative message to the Valued image candidates closer, whether a candidate may be due for closure depending on the current status and time of nomination. The closer still has to check manually whether the last vote was done prior to current time - 48 hours. The implementation is based on the rules in Commons:Valued image candidates/Promotion rules.

 {{VI-closure-notice|status|time of nomination}}

Examples/Test cases[edit]

Unassessed or neutral candidate where more than seven days have passed since nomination[edit]

{{VI-closure-notice|nominated|2015-04-20 22:16 (UTC)}}

gives:

Open for review. May be closed if the last vote was added no later than 22:16, 26 April 2015 (UTC)

Unassessed or neutral candidate where less than seven days have passed since nomination[edit]

{{VI-closure-notice|nominated|2015-04-22 22:16 (UTC)}}

gives:

Open for review.

Discussed candidate where more than seven days have passed since nomination[edit]

{{VI-closure-notice|discussed|2015-04-20 22:16 (UTC)}}

gives:

Open for review. May be closed if the last vote was added no later than 22:16, 26 April 2015 (UTC)

Discussed candidate where less than seven days have passed since nomination[edit]

{{VI-closure-notice|discussed|2015-04-22 22:16 (UTC)}}

gives:

Open for review.

Recently withdrawn candidate[edit]

{{VI-closure-notice|withdrawn|2015-04-28 20:16 (UTC)}}

gives:

Can be closed as declined

Supported candidate nominated more than 4 days ago[edit]

{{VI-closure-notice|supported|2015-04-23 22:16 (UTC)}}

gives:

Open for review. May be closed as Promoted if the last vote was added no later than 22:16, 26 April 2015 (UTC)

Supported candidate nominated less than 4 days ago[edit]

{{VI-closure-notice|supported|2015-04-25 22:16 (UTC)}}

gives:

Open for review.

Opposed candidate nominated more than 4 days ago[edit]

{{VI-closure-notice|opposed|2015-04-23 22:16 (UTC)}}

gives:

Open for review. May be closed as Declined if the last vote was added no later than 22:16, 26 April 2015 (UTC)

[edit]

{{VI-closure-notice|promoted|2015-04-23 22:16 (UTC)}}

gives:

Voting is closed. Await automatic removal by VICbot at 0:18 or 12:18 (UTC)

Same text for undecided and declined.

See also[edit]