Template:Infobox voting method: Difference between revisions
I bet there's a simpler syntax for this
Psephomancy (talk | contribs) (I meant this) |
Psephomancy (talk | contribs) (I bet there's a simpler syntax for this) |
||
Line 1:
{{Infobox
|title={{{title|}}}
| label1 = Condorcet compliant
| data1 =
{{#if: {{{condorcet|}}}
|
{{#ifexpr: {{{condorcet|}}}
| Yes [[Category:Condorcet_methods]]
| No
}}
|}}
| 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 betrayal criterion]]
| No [[Category:Fails favorite betrayal criterion]]
}}
|}}
}}<noinclude>
<templatedata>
|