Template:Infobox legislative election: Difference between revisions
Testing? maybe |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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>}} | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
Line 1,163: | Line 1,163: | ||
}}}} | }}}} | ||
{{!)}} | {{!)}} | ||
<div class="nowrap ib-legis-elect-disclaimer">{{#switch:{{{ongoing|}}}|counting|yes=|#default=This lists | <div class="nowrap ib-legis-elect-disclaimer">{{#switch:{{{ongoing|}}}|counting|yes=|#default=This lists candidates that won votes. See the complete results below.}}</div>}}<!-- | ||
-->{{#if:{{{map|}}}|<table class="ib-legis-elect-map"><tr><td class="infobox-image">{{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|upright={{#if:{{{map_upright|}}}|{{{map_upright}}}|1.3}}|alt={{{map_alt|}}}}}{{#if:{{{map_caption|}}}|<div class="infobox-caption">{{{map_caption|}}}</div>}}</td></tr></table> | -->{{#if:{{{map|}}}|<table class="ib-legis-elect-map"><tr><td class="infobox-image">{{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|upright={{#if:{{{map_upright|}}}|{{{map_upright}}}|1.3}}|alt={{{map_alt|}}}}}{{#if:{{{map_caption|}}}|<div class="infobox-caption">{{{map_caption|}}}</div>}}</td></tr></table> | ||
}}{{#if:{{{before_election|}}}{{{after_election|}}}|<table class="ib-legis-elect-befaft"> | }}{{#if:{{{before_election|}}}{{{after_election|}}}|<table class="ib-legis-elect-befaft"> |