Template:Infobox voting method: Difference between revisions

put new parameters at the top
(I bet there's a simpler syntax for this)
(put new parameters at the top)
 
(One intermediate revision by the same user not shown)
Line 3:
 
| label1 = Condorcet compliant
| data1 = {{#if: {{{condorcet|}}}
| {{#ifexpr: {{{condorcet|}}}
 
| Yes [[Category:Condorcet_methods]]
{{#if: {{{condorcet|}}}
| No
|
}}
{{#ifexpr: {{{condorcet|}}}
| }}
| Yes [[Category:Condorcet_methods]]
| No
}}
|}}
 
| label2 = Mutual majority compliant
| data2 = {{#if: {{{mutual-majority|}}}
| {{#ifexpr: {{{mutual-majority|}}}
 
| Yes
{{#if: {{{mutual-majority|}}}
| No
|
}}
{{#ifexpr: {{{mutual-majority|}}}
| }}
| Yes
| No
}}
|}}
 
| label3 = Favorite betrayal compliant
| data3 = {{#if: {{{favorite-betrayal|}}}
| {{#ifexpr: {{{favorite-betrayal|}}}
 
| Yes [[Category:Favorite betrayal criterion]]
{{#if: {{{favorite-betrayal|}}}
| No [[Category:Fails favorite betrayal criterion]]
|
}}
{{#ifexpr: {{{favorite-betrayal|}}}
| }}
| Yes [[Category:Favorite betrayal criterion]]
| No [[Category:Fails favorite betrayal criterion]]
}}
|}}
 
}}<noinclude>
<templatedata>
Line 92 ⟶ 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"