Template:Infobox voting method: Difference between revisions

From electowiki
Content added Content deleted
(I meant this)
(I bet there's a simpler syntax for this)
Line 1: Line 1:
{{Infobox
{{Infobox
|title={{{title|}}}
|title={{{title|}}}

| label1 = Condorcet compliant
| label1 = Condorcet compliant
| data1 = {{#ifexpr: {{{condorcet|}}}
| data1 =

{{#if: {{{condorcet|}}}
|
{{#ifexpr: {{{condorcet|}}}
| Yes [[Category:Condorcet_methods]]
| Yes [[Category:Condorcet_methods]]
| No
| No
}}
}}
|}}

| label2 = Mutual majority compliant
| label2 = Mutual majority compliant
| data2 = {{#ifexpr: {{{mutual-majority|}}}
| data2 =

{{#if: {{{mutual-majority|}}}
|
{{#ifexpr: {{{mutual-majority|}}}
| Yes
| Yes
| No
| No
}}
}}
|}}

| label3 = Favorite betrayal compliant
| label3 = Favorite betrayal compliant
| data3 = {{#ifexpr: {{{favorite-betrayal|}}}
| data3 =

{{#if: {{{favorite-betrayal|}}}
|
{{#ifexpr: {{{favorite-betrayal|}}}
| Yes [[Category:Favorite betrayal criterion]]
| Yes [[Category:Favorite betrayal criterion]]
| No [[Category:Fails favorite betrayal criterion]]
| No [[Category:Fails favorite betrayal criterion]]
}}
}}
|}}

}}<noinclude>
}}<noinclude>
<templatedata>
<templatedata>

Revision as of 04:04, 31 March 2020

An infobox for voting methods

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

The name of the voting method

Unknownrequired
Utility criterionUtility criterion

Does the candidate with the greatest utility always win?

Booleanoptional
Majority criterionMajority criterion

Does a candidate that a majority of voters prefer over all others always win?

Booleanoptional
Mutual majority criterionmutual-majority

Does someone from a set of candidates that a majority of voters prefer over all others always win?

Example
If a majority of voters are split between several flavors of chocolate ice cream, but agree that any flavor of chocolate is better than any other flavor, then one of the chocolate-type flavors must win.
Booleanoptional
Condorcet criterioncondorcet

Does the Condorcet winner always win when they exist?

Booleanoptional
Smith criterionSmith criterion

Does a candidate from the Smith set always win?

Booleanoptional
Independence of Smith-dominated Alternatives criterionIndependence of Smith-dominated Alternatives criterion

Does the same candidate always win when candidates not in the Smith set are added or removed from the election?

Booleanoptional
Later-no-harm criterionLater-no-harm criterion

Can a voter hurt one of their more-preferred candidates' chances of winning by indicating a preference for a less-preferred candidate?

Booleanoptional
Favorite Betrayal criterionfavorite-betrayal

Do voters ever have strategic incentive to indicate they prefer someone who isn't their honest favorite more than their honest favorite?

Booleanoptional
Single-winner reductionSingle-winner reduction

Which single-winner voting method does this voting method reduce to (become equivalent to) in the single-winner case?

Example
STV becomes IRV in the single-winner case.
Page nameoptional
Party list caseParty list case

Which proportional allocation method does this voting method become equivalent to when voters vote on party lines?

Page nameoptional