Template:Infobox voting method: Difference between revisions

put new parameters at the top
(change parameter format and example of positive and negative automatic categories)
(put new parameters at the top)
 
(5 intermediate revisions by the same user not shown)
Line 1:
{{Infobox
|title={{{title|}}}
 
| label1 = Condorcet compliant
| data1 = {{#if: {{{condorcet|}}}
| {{#ifexpr: {{{condorcet|}}}
| Yes [[Category:Condorcet_methods]]
| No
| No
}}
}}
| }}
 
| label2 = Mutual majority compliant
| data2 = {{#if: {{{mutual-majority|}}}
" | {{#ifexpr: {{{mutual-majority",|}}}
| Yes
| Yes
| No
| No
}}
}}
| label2 = Favorite betrayal compliant
| }}
| data2 = {{#if: {{{favorite-betrayal|}}}
 
| Yes [[Category:Favorite betrayal criterion]]
| label3 = | No [[Category:Fails favoriteFavorite betrayal criterion]]compliant
| data3 = {{#if: {{{favorite-betrayal|}}}
| data2 = {{#ififexpr: {{{favorite-betrayal|}}}
| Yes [[Category:Favorite betrayal criterion]]
| No [[Category:Fails favorite betrayal criterion]]
}}
| }}
}}<noinclude>
<templatedata>
Line 73 ⟶ 82:
"paramOrder": [
"title",
"condorcet",
"mutual-majority",
"favorite-betrayal",
"Utility criterion",
"Majority criterion",
"mutual-majority",
"condorcet",
"Smith criterion",
"Independence of Smith-dominated Alternatives criterion",
"Later-no-harm criterion",
"favorite-betrayal",
"Single-winner reduction",
"Party list case"