Template:Proposal check: Difference between revisions
m (Protected "Template:Proposal check" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
mNo edit summary |
||
(26 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><blockquote>With a margin of '''{{#expr:{{{1}}}-{{{2}}}}}''' vote | <includeonly><blockquote>{{#ifexpr:{{{2}}} > {{{1}}}|'''{{color|red|SECOND PLACE OPTION CANNOT HAVE MORE VOTES THAN FIRST PLACE}}'''| | ||
{{#ifexpr:{{{1}}} - {{{2}}} >= | {{#ifexpr:{{{1}}} > {{{3|{{#expr:{{{1}}}+{{{2}}}}}}}}|'''{{color|red|FIRST PLACE OPTION CANNOT HAVE MORE VOTES THAN UNIQUE USERS}}'''| | ||
{{#ifexpr:{{{2}}} > {{{3|{{#expr:{{{1}}}+{{{2}}}}}}}}|'''{{color|red|SECOND PLACE OPTION CANNOT HAVE MORE VOTES THAN UNIQUE USERS}}'''| | |||
| | {{#ifexpr:{{{1}}} < 4| | ||
The first place option must have at least 4 votes, but it has only '''{{{1}}}''' vote{{#ifexpr:{{{1}}} > 1|s}}. '''{{color|gray|NO QUORUM}}'''| | |||
}}</blockquote></includeonly><noinclude> | {{#ifexpr:{{{1}}} = {{{2}}}|The top two options have an equal number of votes. '''{{color|red|CONSENSUS NOT REACHED}}'''| | ||
With a margin of '''{{#expr:{{{1}}} - {{{2}}}}}''' vote{{#ifexpr:{{{1}}} - {{{2}}} > 1|s}}, | |||
{{#if:{{{early|}}}| | |||
{{#ifexpr:{{{1}}} - {{{2}}} >= 8| | |||
at least 80% approval is required to close one week early. '''{{#expr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}}*100 round 1}}%''' approve the first place option. '''{{#ifexpr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}} >= 0.8|{{color|green|CLOSE EARLY}}|{{color|red|DO NOT CLOSE EARLY}}}}'''| | |||
the proposal is not eligible to close one week early. '''{{color|red|DO NOT CLOSE EARLY}}'''}}| | |||
{{#ifexpr:{{{1}}} - {{{2}}} >= 3| | |||
over 50% approval is required. '''{{#expr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}}*100 round 1}}%''' approve the first place option. '''{{#ifexpr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}} > 0.5|{{color|green|CONSENSUS REACHED}}|{{color|red|CONSENSUS NOT REACHED}}}}'''| | |||
at least 60% approval is required. '''{{#expr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}}*100 round 1}}%''' approve the first place option. '''{{#ifexpr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}} >= 0.6|{{color|green|CONSENSUS REACHED}}|{{color|red|CONSENSUS NOT REACHED}}}}''' | |||
}}}}}}}}}}}}}}</blockquote></includeonly><noinclude> | |||
Use this template to check whether a [[MarioWiki:Proposals|proposal]] has reached '''consensus''' or not. Here are the parameters, in order: | Use this template to check whether a [[MarioWiki:Proposals|proposal]] has reached '''consensus''' or not. Here are the parameters, in order: | ||
# The number of votes that the '''first place option''' has | |||
# The number of votes that the '''second place option''' has | |||
# The number of '''unique users''' who voted in the proposal | |||
#* This parameter is optional for two-option proposals | |||
#* A tool such as [https://dedupelist.com DeDupeList] may help with this | |||
= | Add an <code>early=yes</code> parameter to instead check whether a proposal is eligible for an '''early close''' or not. See below for examples. __NOTOC__ | ||
== Two-option proposal == | |||
* '''Support:''' Greg, Samantha, Tim | |||
* '''Oppose:''' Matthew, Emily, Luke, James, Olivia, Barry | |||
=== Multi-option proposal | ; Notes | ||
* "Oppose" is the first place option and "Support" is the second place option. | |||
* Since this is a two-option proposal, the third parameter can be omitted. | |||
=== Early close check === | |||
<code><nowiki>{{proposal check|early=yes|6|3}}</nowiki></code> | |||
{{proposal check|early=yes|6|3}} | |||
The vote margin is not sufficient, so the proposal does not close early. | |||
=== Deadline check === | |||
<code><nowiki>{{proposal check|6|3}}</nowiki></code> | |||
{{proposal check|6|3}} | |||
Consensus is reached, so the proposal is settled and has failed. | |||
== Multi-option proposal == | |||
* '''Option 1:''' Steve, Mary, Bob, Charlie | * '''Option 1:''' Steve, Mary, Bob, Charlie | ||
* '''Option 2:''' Steve, Greg, Susan | * '''Option 2:''' Steve, Greg, Susan | ||
Line 26: | Line 50: | ||
* '''Option 4:''' Greg, Sarah, Tyler, Jim | * '''Option 4:''' Greg, Sarah, Tyler, Jim | ||
; Notes | |||
* "Option 3" is the first place option. Options 1 and 4 are tied for second place. | |||
** It doesn't matter if second place is tied; the number is still 4 votes. | |||
* While the proposal has 16 total votes placed, it only has 11 '''unique users'''. | |||
=== Early close check === | |||
<code><nowiki>{{proposal check|early=yes|5|4|11}}</nowiki></code> | |||
{{proposal check|early=yes|5|4|11}} | |||
The vote margin is not sufficient, so the proposal does not close early. | |||
=== Deadline check === | |||
<code><nowiki>{{proposal check|5|4|11}}</nowiki></code> | <code><nowiki>{{proposal check|5|4|11}}</nowiki></code> | ||
{{proposal check|5|4|11}} | {{proposal check|5|4|11}} | ||
Consensus is not reached, so the proposal is extended (up to three times). | |||
[[Category:Proposal templates]]</noinclude> | [[Category:Proposal templates]]</noinclude> |
Latest revision as of 12:58, November 22, 2024
Use this template to check whether a proposal has reached consensus or not. Here are the parameters, in order:
- The number of votes that the first place option has
- The number of votes that the second place option has
- The number of unique users who voted in the proposal
- This parameter is optional for two-option proposals
- A tool such as DeDupeList may help with this
Add an early=yes
parameter to instead check whether a proposal is eligible for an early close or not. See below for examples.
Two-option proposal
- Support: Greg, Samantha, Tim
- Oppose: Matthew, Emily, Luke, James, Olivia, Barry
- Notes
- "Oppose" is the first place option and "Support" is the second place option.
- Since this is a two-option proposal, the third parameter can be omitted.
Early close check
{{proposal check|early=yes|6|3}}
With a margin of 3 votes, the proposal is not eligible to close one week early. DO NOT CLOSE EARLY
The vote margin is not sufficient, so the proposal does not close early.
Deadline check
{{proposal check|6|3}}
With a margin of 3 votes, over 50% approval is required. 66.7% approve the first place option. CONSENSUS REACHED
Consensus is reached, so the proposal is settled and has failed.
Multi-option proposal
- Option 1: Steve, Mary, Bob, Charlie
- Option 2: Steve, Greg, Susan
- Option 3: Fred, Greg, Sarah, Lucy, Tyler
- Option 4: Greg, Sarah, Tyler, Jim
- Notes
- "Option 3" is the first place option. Options 1 and 4 are tied for second place.
- It doesn't matter if second place is tied; the number is still 4 votes.
- While the proposal has 16 total votes placed, it only has 11 unique users.
Early close check
{{proposal check|early=yes|5|4|11}}
With a margin of 1 vote, the proposal is not eligible to close one week early. DO NOT CLOSE EARLY
The vote margin is not sufficient, so the proposal does not close early.
Deadline check
{{proposal check|5|4|11}}
With a margin of 1 vote, at least 60% approval is required. 45.5% approve the first place option. CONSENSUS NOT REACHED
Consensus is not reached, so the proposal is extended (up to three times).