틀:Infobox legislative election: 두 판 사이의 차이

(새 문서: <includeonly>{{infobox | child = {{{child|{{{embed|}}}}}} | bodyclass = {{#if:{{{election_date|}}}|vevent|}} | bodystyle = line-height: 1.5em; max-width: 32em; min-width:22em; wid...)
 
편집 요약 없음
 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
6번째 줄: 6번째 줄:


| subheaderstyle = line-height:130%;
| subheaderstyle = line-height:130%;
| subheader1 = {{#if:{{{country|}}}|{{flagicon|{{{country}}}|variant={{{flag_year|}}}|size=50px}}}}<hr />
| subheader1 = {{#if:{{{country|}}}|{{나라 정보|{{{나라}}}|variant={{{국기 연도}}}|size=50px}}}}<hr />
| subheader2 = {{#if:{{{previous_election|}}}{{{next_election|}}}
| subheader2 = {{#if:{{{previous_election|}}}{{{next_election|}}}
   |{{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%;
   |{{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%;
46번째 줄: 46번째 줄:
  | heading        = {{{heading1|}}}
  | heading        = {{{heading1|}}}
  | party          = {{{party1|}}}
  | party          = {{{party1|}}}
  | party_leader  = {{If empty|{{{party_leader1|}}}|{{{leader1|}}}}}
  | party_leader  = {{Ifempty|{{{party_leader1|}}}|{{{leader1|}}}}}
  | colour        = {{If empty|{{{colour1|}}}|{{{color1|}}}}}
  | colour        = {{Ifempty|{{{colour1|}}}|{{{color1|}}}}}
  | percentage    = {{{percentage1|}}}
  | percentage    = {{{percentage1|}}}
  | seats          = {{{seats1|}}}
  | seats          = {{{seats1|}}}
  | seats_before  = {{If empty|{{{seats1_before|}}}|{{{last_election1|}}}}}
  | seats_before  = {{Ifempty|{{{seats1_before|}}}|{{{last_election1|}}}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
57번째 줄: 57번째 줄:
  | heading        = {{{heading2|}}}
  | heading        = {{{heading2|}}}
  | party          = {{{party2|}}}
  | party          = {{{party2|}}}
  | party_leader  = {{If empty|{{{party_leader2|}}}|{{{leader2|}}}}}
  | party_leader  = {{Ifempty|{{{party_leader2|}}}|{{{leader2|}}}}}
  | colour        = {{If empty|{{{colour2|}}}|{{{color2|}}}}}
  | colour        = {{Ifempty|{{{colour2|}}}|{{{color2|}}}}}
  | percentage    = {{{percentage2|}}}
  | percentage    = {{{percentage2|}}}
  | seats          = {{{seats2|}}}
  | seats          = {{{seats2|}}}
  | seats_before  = {{If empty|{{{seats2_before|}}}|{{{last_election2|}}}}}
  | seats_before  = {{Ifempty|{{{seats2_before|}}}|{{{last_election2|}}}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
68번째 줄: 68번째 줄:
  | heading        = {{{heading3|}}}
  | heading        = {{{heading3|}}}
  | party          = {{{party3|}}}
  | party          = {{{party3|}}}
  | party_leader  = {{If empty|{{{party_leader3|}}}|{{{leader3|}}}}}
  | party_leader  = {{Ifempty|{{{party_leader3|}}}|{{{leader3|}}}}}
  | colour        = {{If empty|{{{colour3|}}}|{{{color3|}}}}}
  | colour        = {{Ifempty|{{{colour3|}}}|{{{color3|}}}}}
  | percentage    = {{{percentage3|}}}
  | percentage    = {{{percentage3|}}}
  | seats          = {{{seats3|}}}
  | seats          = {{{seats3|}}}
  | seats_before  = {{If empty|{{{seats3_before|}}}|{{{last_election3|}}}}}
  | seats_before  = {{Ifempty|{{{seats3_before|}}}|{{{last_election3|}}}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
79번째 줄: 79번째 줄:
  | heading        = {{{heading4|}}}
  | heading        = {{{heading4|}}}
  | party          = {{{party4|}}}
  | party          = {{{party4|}}}
  | party_leader  = {{If empty|{{{party_leader4|}}}|{{{leader4|}}}}}
  | party_leader  = {{Ifempty|{{{party_leader4|}}}|{{{leader4|}}}}}
  | colour        = {{If empty|{{{colour4|}}}|{{{color4|}}}}}
  | colour        = {{Ifempty|{{{colour4|}}}|{{{color4|}}}}}
  | percentage    = {{{percentage4|}}}
  | percentage    = {{{percentage4|}}}
  | seats          = {{{seats4|}}}
  | seats          = {{{seats4|}}}
382번째 줄: 382번째 줄:
| belowstyle = border-top:1px #aaa solid; padding: 0.3em 0.5em;
| belowstyle = border-top:1px #aaa solid; padding: 0.3em 0.5em;
| below =  
| below =  
{{#if:{{{before_election|}}}{{{after_election|}}}|<table style="width: 100%; border-spacing: 0;">
{{#if:{{{선거_전|}}}{{{선거_후|}}}|<table style="width: 100%; border-spacing: 0;">
  <tr>
  <tr>
   <th {{#if:{{{before_image|}}}|colspan="2"}} scope="col" style="width:50%;">{{#if:{{{before_election|}}}|{{#ifeq:{{{ongoing|}}}|yes|Incumbent {{{title}}}|{{{title}}} before}}}}</th>
   <th {{#if:{{{before_image|}}}|colspan="2"}} scope="col" style="width:50%;">{{#if:{{{선거_전|}}}|{{#ifeq:{{{ongoing|}}}|yes|Incumbent {{{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}}}}} after}}}}}}</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}}}}} after}}}}}}</th>
  </tr>
  </tr>
  <tr>{{#if:{{{before_image|}}}|
  <tr>{{#if:{{{전_사진|}}}|
   <td style="padding-right: 3px;">{{#invoke:InfoboxImage|InfoboxImage|image={{{before_image|}}}|size={{{before_image_size|}}}|sizedefault=x65px}}</td>}}
   <td style="padding-right: 3px;">{{#invoke:InfoboxImage|InfoboxImage|image={{{before_image|}}}|size={{{before_image_size|}}}|sizedefault=x65px}}</td>}}
   <td style="width: 50%;">{{{before_election|}}}{{#if:{{{before_party|}}}|<br />{{Infobox election/shortname|name={{{before_party}}}}}}}</td>
   <td style="width: 50%;">{{{선거_전|}}}{{#if:{{{정당}}}|<br />{{Infobox election/shortname|name={{{before_party}}}}}}}</td>
   <td style="text-align:right; width: 50%;">{{#ifeq:{{{ongoing|}}}|yes||{{#if:{{{after_election|}}}|{{{after_election}}}{{#if:{{{after_party|}}}|<br />{{Infobox election/shortname|name={{{after_party}}}}}}}}}}}</td>{{#if:{{{after_image|}}}|
   <td style="text-align:right; width: 50%;">{{#ifeq:{{{ongoing|}}}|yes||{{#if:{{{선거_후|}}}|{{{선거_후}}}{{#if:{{{정당|}}}|<br />{{Infobox election/shortname|name={{{after_party}}}}}}}}}}}</td>{{#if:{{{after_image|}}}|
   <td style="padding-left: 3px;">{{#invoke:InfoboxImage|InfoboxImage|image={{{after_image|}}}|size={{{after_image_size|}}}|sizedefault=x65px}}</td>}}
   <td style="padding-left: 3px;">{{#invoke:InfoboxImage|InfoboxImage|image={{{after_image|}}}|size={{{after_image_size|}}}|sizedefault=x65px}}</td>}}
  </tr>
  </tr>

2019년 8월 7일 (수) 00:05 기준 최신판

틀 설명문서 [만들기]