Template:Infobox legislative election: Difference between revisions
Testing? maybe |
votes not seats |
||
Line 23: | Line 23: | ||
}} | }} | ||
| data1 = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />{{{majority_seats}}} | | data1 = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />{{{majority_seats}}} votes needed for a majority}}}} | ||
| label2 = Turnout | | label2 = Turnout | ||
Line 36: | Line 36: | ||
! Party {{#ifeq:{{{noleader|}}}|yes||!!{{{leadertitle|Leader}}}}} | ! Party {{#ifeq:{{{noleader|}}}|yes||!!{{{leadertitle|Leader}}}}} | ||
{{#switch:{{{ongoing|}}}|counting|yes= | {{#switch:{{{ongoing|}}}|counting|yes= | ||
{{#ifeq:{{{first_election|}}}|yes||! {{#ifeq:{{{ongoing|}}}|counting| | {{#ifeq:{{{first_election|}}}|yes||! {{#ifeq:{{{ongoing|}}}|counting|Votes before|Current total votes}}}} | ||
|#default= | |#default= | ||
{{#ifeq:{{{nopercentage|}}}|yes||! <abbr title="Percentage vote share">%</abbr>}} | {{#ifeq:{{{nopercentage|}}}|yes||! <abbr title="Percentage vote share">%</abbr>}} | ||
! | ! Votes | ||
{{#ifeq:{{{first_election|}}}|yes||! <abbr title=" | {{#ifeq:{{{first_election|}}}|yes||! <abbr title="Vote change from last election">+/–</abbr>}} | ||
}} | }} | ||
{{!-}} | {{!-}} |