Template:Infobox legislative election: Difference between revisions

From Osolia Wiki
Hydrogen (talk | contribs)
Testing? maybe
 
Hydrogen (talk | contribs)
votes not seats
Line 23: Line 23:
}}
}}


| data1 = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />{{{majority_seats}}} seats needed for a majority}}}}
| 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|Seats before|Current seats}}}}
{{#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>}}
! Seats
! Votes
{{#ifeq:{{{first_election|}}}|yes||! <abbr title="Seat change from last election">+/–</abbr>}}
{{#ifeq:{{{first_election|}}}|yes||! <abbr title="Vote change from last election">+/–</abbr>}}
}}
}}
{{!-}}
{{!-}}

Revision as of 18:45, 18 June 2024