Jump to content

Template:Infobox election: Difference between revisions

From GaplaWiki
Created page with "<includeonly>{{#invoke:infobox|infoboxTemplate | templatestyles = Infobox election/styles.css | child templatestyles = Screen reader-only/styles.css<!-- for /row template --> | child = {{{child|{{{embed|}}}}}} | bodyclass = ib-election infobox-table {{#if:{{{election_date|}}}|vevent|}} | bodystyle = {{#if:<!-- -->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!-- -->|width:{{#invoke:Math|max | 1 = {{#i..."
 
No edit summary
Line 21: Line 21:
| 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%;
   | left ={{#if:{{{previous_year|}}}|{{#ifexist:{{{previous_election|}}}|[[{{{previous_election}}}|{{{previous_year}}}]]|{{{previous_year}}}}}}}
   | left = [[{{{previous_election}}}|{{{previous_year}}}]]
   | center = {{#if:{{{election_date|}}}|'''{{{election_date}}}'''}}
   | center = {{#if:{{{election_date|}}}|'''{{{election_date}}}'''}}
   | right = {{#if:{{{next_year|}}}|{{#ifexist:{{{next_election|}}}|[[{{{next_election}}}|{{{next_year}}}]]|{{{next_year}}}}}}}
   | right = [[{{{next_election}}}|{{{next_year}}}]]
   }}
   }}
}}
}}

Revision as of 15:26, 17 March 2025