Template:Proposal check: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{#ifexpr:{{{1}}} < 4|
{{#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}}'''|
The first place option must have at least 4 votes, but it has only '''{{{1}}}''' vote{{#ifexpr:{{{1}}} > 1|s}}. '''{{color|gray|NO QUORUM}}'''|
{{#ifexpr:{{{1}}} = {{{2}}}|The first and second place options are tied. '''{{color|red|CONSENSUS NOT REACHED}}'''|
{{#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}},
With a margin of '''{{#expr:{{{1}}} - {{{2}}}}}''' vote{{#ifexpr:{{{1}}} - {{{2}}} > 1|s}},
{{#ifexpr:{{{1}}} - {{{2}}} >= 3|
{{#if:{{{early|}}}|
over 50% support is required. '''{{#expr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}}*100 round 1}}%''' support achieved. '''{{#ifexpr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}} > 0.5|{{color|green|CONSENSUS REACHED}}|{{color|red|CONSENSUS NOT REACHED}}}}'''|
{{#ifexpr:{{{1}}} - {{{2}}} >= 8|
at least 60% support is required. '''{{#expr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}}*100 round 1}}%''' support achieved. '''{{#ifexpr:{{{1}}}/{{{3|{{#expr:{{{1}}}+{{{2}}}}}}}} >= 0.6|{{color|green|CONSENSUS REACHED}}|{{color|red|CONSENSUS NOT REACHED}}}}'''
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}}}}'''|
}}}}}}}}}}}}</blockquote></includeonly><noinclude>
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:


Line 16: Line 20:
# The number of '''unique users''' who voted in the proposal
# The number of '''unique users''' who voted in the proposal
#* This parameter is optional for two-option proposals
#* This parameter is optional for two-option proposals
#* A tool such as [https://dedupelist.com DeDupeList] may help with this


== Examples ==
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:''' Matthew, Emily, Luke, James, Olivia, Barry
* '''Oppose:''' Greg, Samantha, Tim


== 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 ===
<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>
<code><nowiki>{{proposal check|6|3}}</nowiki></code>
{{proposal check|6|3}}
{{proposal check|6|3}}


* "Support" is the first place option and "Oppose" is the second place option.
Consensus is reached, so the proposal is settled and has failed.


=== Multi-option proposal ===
== 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 33: 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}}


* "Option 3" is the first place option. Options 1 and 4 are tied for second place.
Consensus is not reached, so the proposal is extended (up to three times).
** It doesn't matter that second place is tied; the number is still 4 votes.
* While the proposal has 16 total votes, it only has 11 '''unique users'''.


[[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:

  1. The number of votes that the first place option has
  2. The number of votes that the second place option has
  3. 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).