「模板:Infobox legislative election」:修訂間差異
(建立內容為「<includeonly>{{infobox | child = {{{child|{{{embed|}}}}}} | bodyclass = {{#if:{{{election_date|}}}|vevent|}} | bodystyle = line-height: 1.5em; max-width: 32em; min-width:22em; width:auto; | title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{election_name|}}}|<div style="font-size:120%; font-weight:bold">{{{election_name}}}</div>}}|{{{election_name|}}}}} | subheaderstyle = line-height:130%; | subheader1 = {{#if:{{{country|}}}|{{flagicon|{{{country}}}|…」的新頁面) |
無編輯摘要 |
||
第24行: | 第24行: | ||
| headerstyle = font-weight:normal; | | headerstyle = font-weight:normal; | ||
| header1 = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br /> | | header1 = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />獲得絕對多數需要{{{majority_seats}}}席}}}} | ||
| datastyle = text-align:center; | | datastyle = text-align:center; | ||
第38行: | 第38行: | ||
{{(!}} class="wikitable" style="width: 100%; margin:0;" | {{(!}} class="wikitable" style="width: 100%; margin:0;" | ||
{{!-}} class="nowrap" | {{!-}} class="nowrap" | ||
! 政 | ! 政黨/派系 | ||
! | ! 領袖 | ||
{{#ifeq:{{{ongoing|}}}|yes| | {{#ifeq:{{{ongoing|}}}|yes| | ||
{{#ifeq:{{{first_election|}}}|yes||! 目前席位}} | {{#ifeq:{{{first_election|}}}|yes||! 目前席位}} | ||
| | | | ||
! <abbr title="得票占比">%</abbr> | ! <abbr title="得票占比">%</abbr> | ||
! | ! 議席 | ||
{{#ifeq:{{{first_election|}}}|yes||! <abbr title="席位 | {{#ifeq:{{{first_election|}}}|yes||! <abbr title="席位變化">±</abbr>}} | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
第390行: | 第390行: | ||
{{#if:{{{before_election|}}}{{{after_election|}}}|<table style="width: 100%; border-spacing: 0;"> | {{#if:{{{before_election|}}}{{{after_election|}}}|<table style="width: 100%; border-spacing: 0;"> | ||
<tr> | <tr> | ||
<th {{#if:{{{before_image|}}}|colspan="2"}} scope="col" style="width:50%; text-align:left;">{{#if:{{{before_election|}}}|{{#ifeq:{{{ongoing|}}}|yes| | <th {{#if:{{{before_image|}}}|colspan="2"}} scope="col" style="width:50%; text-align:left;">{{#if:{{{before_election|}}}|{{#ifeq:{{{ongoing|}}}|yes|現任 {{{title}}}|前任{{{title}}}}}}}</th> | ||
<th {{#if:{{{after_image|}}}|colspan="2"}} scope="col" style="width:50%; text-align:right;">{{#ifeq:{{{ongoing|}}}|yes||{{#if:{{{after_election|}}}|{{If empty|{{{posttitle|}}}| | <th {{#if:{{{after_image|}}}|colspan="2"}} scope="col" style="width:50%; text-align:right;">{{#ifeq:{{{ongoing|}}}|yes||{{#if:{{{after_election|}}}|{{If empty|{{{posttitle|}}}|當選{{Delink|1={{{title}}}}}}}}}}}</th> | ||
</tr> | </tr> | ||
<tr>{{#if:{{{before_image|}}}| | <tr>{{#if:{{{before_image|}}}| |