Template:Infobox election: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infoboxTemplate
<includeonly>{{#invoke:infobox|infoboxTemplate
| child    = {{{child|{{{embed|}}}}}}
| child    = {{{child|{{{embed|}}}}}}
| bodyclass = {{#if:{{{election_date|}}}|vevent|}}
| bodyclass = vcard
| bodystyle = line-height: 1.5em; {{#if:<!--
| bodystyle = line-height: 1.5em; {{#if:<!--
  -->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!--
  -->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!--
Line 21: Line 21:
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}<hr />
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}<hr />
   |{{#if:{{{country|}}}
   |{{#if:{{{country|}}}
     |{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px|class=location|noredlink={{main other||yes}}}}<hr />
     |{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px|noredlink={{main other||yes}}}}<hr />
   }}
   }}
  }}
  }}
| subheaderclass(n) = location
| subheader2 =  {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}|  
| subheader2 =  {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}|  
  {{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%;
  {{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%;

Latest revision as of 21:12, 21 August 2022

Template documentation[create]