「模板:Infobox election」:修訂間差異

出自合眾百科 Unitedbook
imported>DC
無編輯摘要
(文字取代 - "美國" 取代為 "合眾國")
 
(未顯示由 1 位使用者於中間所作的 1 次修訂)
第16行: 第16行:


| subheaderstyle = line-height:130%;
| subheaderstyle = line-height:130%;
| subheader1 = <div style="float:left; max-width:10em; font-size:80%; text-align:left; display:inline-block; height: auto; ">◄{{{previous_election|}}}</div><div style="float:center; max-width:10em; font-size:80%; text-align:center; display:inline-block; height: auto;">{{{election_date|}}}</div><div style="float:right; max-width:12em; font-size:80%; text-align:right; display:inline-block; height: auto;">{{{next_election|}}}►</div>
| subheader1 = {{#if:{{{flag_image|}}}
 
  |{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}<hr />
  |{{#if:{{{country|}}}
    |{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px|noredlink={{main other||yes}}}}<hr />
  }}
}}
| subheader2 =  {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}|
{{succession links|leftstyle=width:15%;|centerstyle = width:70%;|rightstyle=width:15%;
  | left ={{#if:{{{previous_year|}}}|{{nowrap|{{#ifexist:{{{previous_election|}}}|[[{{{previous_election}}}|{{{previous_year}}}]]|{{{previous_year}}}}}}}}}
  | center = {{#if:{{{election_date|}}}|'''{{{election_date}}}'''}}
  | right = {{#if:{{{next_year|}}}|{{nowrap|{{#ifexist:{{{next_election|}}}|[[{{{next_election}}}|{{{next_year}}}]]|{{{next_year}}}}}}}}}
  }}
}}
| subheader3 =
{{#if:{{{outgoing_members|{{{previous_mps|}}}}}}{{{elected_members|{{{elected_mps|}}}}}}|
{{succession links|leftstyle=width:49%; text-align:center;|rightstyle=width:49%; text-align:center;
| left = {{#if:{{{outgoing_members|{{{previous_mps|}}}}}}|{{#ifexist:{{{outgoing_members|{{{previous_mps|}}}}}}|[[{{{outgoing_members|{{{previous_mps|}}}}}}|離任議員]]|{{{outgoing_members|{{{previous_mps|}}}}}}}}}}
| right = {{#if:{{{elected_members|{{{elected_mps|}}}}}}|{{#ifexist:{{{elected_members|{{{elected_mps|}}}}}}|[[{{{elected_members|{{{elected_mps|}}}}}}|當選議員]]|{{{elected_members|{{{elected_mps|}}}}}}}}|}}
}}
}}
| headerstyle = font-weight:normal;
| headerstyle = font-weight:normal;
| header1 =  
| header1 =  
第606行: 第624行:
| data15 = {{#if:{{{title|}}}|<hr />
| data15 = {{#if:{{{title|}}}|<hr />
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{!}} style="width:50%; text-align:left; text-size: 80%" {{!}}'''{{#if:{{{before_election|}}}{{{before_party|}}}|{{#ifeq:{{{type}}}|原|前{{{title}}}|{{#ifeq:{{{ongoing|no}}}|yes|現任{{#ifeq:{{{title}}}|國參議員|[[{{{country}}}聯邦參議員列表|{{{title}}}]]|{{{title}}}}}|選前{{#ifeq:{{{title}}}|國參議員|[[{{{country}}}聯邦參議員列表|{{{title}}}]]|{{{title}}}}}}}}}'''<br />
{{!}} style="width:50%; text-align:left; text-size: 80%" {{!}}'''{{#if:{{{before_election|}}}{{{before_party|}}}|{{#ifeq:{{{type}}}|原|前{{{title}}}|{{#ifeq:{{{ongoing|no}}}|yes|現任{{#ifeq:{{{title}}}|合眾國參議員|[[{{{country}}}聯邦參議員列表|{{{title}}}]]|{{{title}}}}}|選前{{#ifeq:{{{title}}}|合眾國參議員|[[{{{country}}}聯邦參議員列表|{{{title}}}]]|{{{title}}}}}}}}}'''<br />
{{{before_election}}}<br />
{{{before_election}}}<br />
{{#if:{{{before_party|}}}|{{Infobox election/shortname|link={{{party_name}}}|name={{{before_party}}}}} }} }}
{{#if:{{{before_party|}}}|{{Infobox election/shortname|link={{{party_name}}}|name={{{before_party}}}}} }} }}

於 2024年1月30日 (二) 05:37 的最新修訂

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