「模板: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}}}|…」的新頁面)
 
無編輯摘要
 
(未顯示同一使用者於中間所作的 1 次修訂)
第24行: 第24行:


| headerstyle = font-weight:normal;
| headerstyle = font-weight:normal;
| header1 = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />绝对需要{{{majority_seats}}}席}}}}
| 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="席位化">±</abbr>}}
{{#ifeq:{{{first_election|}}}|yes||! <abbr title="席位化">±</abbr>}}
}}
}}
{{!-}}
{{!-}}
第381行: 第381行:
}}
}}
{{!)}}  
{{!)}}  
<div class="nowrap" style="width:100%;font-size: 80%; padding:0.3em;">{{#ifeq:{{{ongoing|}}}|yes||此为赢席的政列表,请见下文。}}</div>}}<!--
<div class="nowrap" style="width:100%;font-size: 80%; padding:0.3em;">{{#ifeq:{{{ongoing|}}}|yes||此為贏席的政列表,請見下文。}}</div>}}<!--
  -->{{#if:{{{map|}}}|{{infobox|child=yes
  -->{{#if:{{{map|}}}|{{infobox|child=yes
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|upright={{#if:{{{map_upright|}}}|{{{map_upright}}}|1.3}}|alt={{{map_alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|upright={{#if:{{{map_upright|}}}|{{{map_upright}}}|1.3}}|alt={{{map_alt|}}}}}
第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|任 {{{title}}}|前任{{{title}}}}}}}</th>
   <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|}}}|当选{{Delink|1={{{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|}}}|當選{{Delink|1={{{title}}}}}}}}}}}</th>
  </tr>
  </tr>
  <tr>{{#if:{{{before_image|}}}|
  <tr>{{#if:{{{before_image|}}}|

於 2024年7月2日 (二) 11:04 的最新修訂

資訊圖示 模板資訊[創建]