Template:Infobox voting method: Difference between revisions

put new parameters at the top
No edit summary
(put new parameters at the top)
 
(10 intermediate revisions by the same user not shown)
Line 1:
{{Infobox
|title={{{title|}}}
 
}}
| label1 = Condorcet compliant
| data1 = {{#if: {{{condorcet|}}}
| Yes [[Category:Condorcet_methods]]
| {{#ifexpr: {{{condorcet|}}}
| No
| Yes [[Category:Condorcet_methods]]
}}
| No
<noinclude>
},}
| }}
 
| label2 = Mutual majority compliant
| data2 = {{#if: {{{mutual-majority|}}}
| {{#ifexpr: {{{mutual-majority|}}}
| Yes
| No
},}
| }}
 
| label3 = Favorite betrayal compliant
| data3 = {{#if: {{{favorite-betrayal|}}}
| {{#ifexpr: {{{favorite-betrayal|}}}
" | Yes [[Category:Favorite Betrayalbetrayal criterion",]]
| No [[Category:Fails favorite betrayal criterion]]
}}
| }}
}}<noinclude>
<templatedata>
{
Line 12 ⟶ 31:
"Majority criterion": {
"description": "Does a candidate that a majority of voters prefer over all others always win?",
"type": "boolean"
},
"Mutual majority criterion": {
"description": "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.",
"type": "boolean"
},
Line 33 ⟶ 47:
"Independence of Smith-dominated Alternatives criterion": {
"description": "Does the same candidate always win when candidates not in the Smith set are added or removed from the election?",
"type": "boolean"
},
"Favorite Betrayal criterion": {
"description": "Do voters ever have strategic incentive to indicate they prefer someone who isn't their honest favorite more than their honest favorite?",
"type": "boolean"
},
Line 51 ⟶ 61:
"label": "Condorcet criterion",
"description": "Does the Condorcet winner always win when they exist?",
"type": "boolean"
},
"title": {
"description": "The name of the voting method",
"required": true
},
"mutual-majority": {
"label": "Mutual majority criterion": {,
"description": "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.",
"type": "boolean"
},
"favorite-betrayal": {
"label": "Favorite Betrayal criterion": {,
"description": "Do voters ever have strategic incentive to indicate they prefer someone who isn't their honest favorite more than their honest favorite?",
"type": "boolean"
}
Line 56 ⟶ 81:
"description": "An infobox for voting methods",
"paramOrder": [
"title",
"condorcet",
"Mutual mutual-majority criterion",
"favorite-betrayal",
"Utility criterion",
"Majority criterion",
"Mutual majority criterion",
"condorcet",
"Smith criterion",
"Independence of Smith-dominated Alternatives criterion",
"Later-no-harm criterion",
"Favorite Betrayal criterion",
"Single-winner reduction",
"Party list case"