Template:Infobox voting method: Difference between revisions

indentation
(I bet there's a simpler syntax for this)
(indentation)
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>