Template:Proposed feature voting/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

While voting

Use this on the proposal page:

== Voting ==
{{Proposed feature voting}}

<!-- Cheat sheet:
{{vote|yes}} OPTIONAL MESSAGE HERE --~~~~
{{vote|no}} YOUR REASONS HERE --~~~~
{{vote|abstain}} YOUR COMMENTS HERE --~~~~

Place your vote below. -->

Post-vote

Add the parameter closed=yes to the existing {{Proposed feature voting}} code. The "instructions for voting" then change into "voting closed". You can use parameters yes=number, no=number, abstain=number, result=approved/rejected and comment=A comment to summarize the results:

{{Proposed feature voting
 | closed  = yes
 | yes     = 
 | no      = 
 | abstain = 
 | result  = approved/rejected
 | comment = 
}}

In a voting with many votes the yes/no/abstain values are best obtained by copying the wiki markup to a text editor of your choice and counting the vote templates (e.g. {{vote|yes}}) within.

If number is 0, please do not fill in the parameter! Otherwise, e.g. 0 votes against will be shown.

For example:

{{Proposed feature voting
 | closed  = yes
 | yes     = 2
 | no      = 10
 | abstain = 
 | result  = rejected
 | comment = The community raised some issues. See the follow-up proposal.
}}

for 10 votes for, 2 against and no abstentions. It produces

Voting closed

Voting on this proposal has been closed.

It was rejected with 2 votes for and 10 votes against.

The community raised some issues. See the follow-up proposal.

See also