틀: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%;
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년 7월 19일 (금) 21:12 판

틀 설명문서 [만들기]