User:Thunderstorm008/sandbox/legse

{{infobox
 * child    = {{{child|{{{embed|}}}}}}
 * bodyclass = {{#if:{{{election_date|}}}|vevent|}}
 * bodystyle = line-height: 1.5em; max-width: 32em; min-width:22em; width:auto;
 * title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{election_name|}}}| {{{election_name}}} }}|{{{election_name|}}}}}

|{{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%; | left = {{{previous_election|}}} | center = {{#if:{{{election_date|}}}|{{{election_date}}}}} | right = {{{next_election|}}} }} |{{#if:{{{election_date|}}}|{{{election_date}}}}} }}
 * subheaderstyle = line-height:130%;
 * subheader1 = {{#if:{{{country|}}}|{{flagicon|{{{country}}}|variant={{{flag_year|}}}|size=50px}}}}
 * subheader2 = {{#if:{{{previous_election|}}}{{{next_election|}}}

{{{majority_seats}}} seats needed for a majority}}}}
 * headerstyle = font-weight:normal;
 * header1 = {{#if:{{{seats_for_election|}}}| {{{seats_for_election}}}{{#if:{{{majority_seats|}}}|


 * datastyle = text-align:center;
 * labelstyle = width:5em;white-space:nowrap;


 * label2 = Turnout
 * data2 = {{{turnout|}}}


 * label3 = Reporting
 * data3 = {{#if:{{{reporting|}}}|{{center|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}{{small|as of {{{last_update}}} {{{time_zone}}} }}}}

{{alternating rows table|class=wikitable}} style="width: 100%; margin:0;" {{!-}} class="nowrap" {{#ifeq:{{{alliances_on|yes}}}|{{{alliances_on|no}}}|! Alliance}} ! Party {{#ifeq:{{{alliances_on|yes}}}|{{{alliances_on|no}}}| Alliance name in brackets.|}} ! Leader {{#ifeq:{{{ongoing|}}}|yes| {{#ifeq:{{{first_election|}}}|yes||! Current seats}} ! % ! Seats {{#ifeq:{{{first_election|}}}|yes||! ± }} }} {{!-}} {{!-}} {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading1|}}} | party         = {{{party1|}}} | alliance      = {{{alliance1|}}} | alliances_on  = {{{alliances_on|}} | party_leader  = {{{party_leader1|}}} | colour        = {{If empty|{{{colour1|}}}|{{{color1|}}}}} | percentage    = {{{percentage1|}}} | seats         = {{{seats1|}}} | seats_before  = {{{seats1_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }} {{!-}} {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading2|}}} | party         = {{{party2|}}} | alliance      = {{{alliance2|}}} | alliances_on  = {{{alliances_on|}} | party_leader  = {{{party_leader2|}}} | colour        = {{If empty|{{{colour2|}}}|{{{color2|}}}}} | percentage    = {{{percentage2|}}} | seats         = {{{seats2|}}} | seats_before  = {{{seats2_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }} {{!-}} {{#if:{{{party3|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading3|}}} | party         = {{{party3|}}} | alliance      = {{{alliance3|}}} | alliances_on  = {{{alliances_on|}} | party_leader  = {{{party_leader3|}}} | colour        = {{If empty|{{{colour3|}}}|{{{color3|}}}}} | percentage    = {{{percentage3|}}} | seats         = {{{seats3|}}} | seats_before  = {{{seats3_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party4|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading4|}}} | party         = {{{party4|}}} | alliance      = {{{alliance4|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader4|}}} | colour        = {{If empty|{{{colour4|}}}|{{{color4|}}}}} | percentage    = {{{percentage4|}}} | seats         = {{{seats4|}}} | seats_before  = {{{seats4_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party5|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading5|}}} | party         = {{{party5|}}} | alliance      = {{{alliance5|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader5|}}} | colour        = {{If empty|{{{colour5|}}}|{{{color5|}}}}} | percentage    = {{{percentage5|}}} | seats         = {{{seats5|}}} | seats_before  = {{{seats5_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party6|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading6|}}} | party         = {{{party6|}}} | alliance      = {{{alliance6|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader6|}}} | colour        = {{If empty|{{{colour6|}}}|{{{color6|}}}}} | percentage    = {{{percentage6|}}} | seats         = {{{seats6|}}} | seats_before  = {{{seats6_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party7|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading7|}}} | party         = {{{party7|}}} | alliance      = {{{alliance7|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader7|}}} | colour        = {{If empty|{{{colour7|}}}|{{{color7|}}}}} | percentage    = {{{percentage7|}}} | seats         = {{{seats7|}}} | seats_before  = {{{seats7_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party8|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading8|}}} | party         = {{{party8|}}} | alliance      = {{{alliance8|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader8|}}} | colour        = {{If empty|{{{colour8|}}}|{{{color8|}}}}} | percentage    = {{{percentage8|}}} | seats         = {{{seats8|}}} | seats_before  = {{{seats8_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party9|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading9|}}} | party         = {{{party9|}}} | alliance      = {{{alliance9|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader9|}}} | colour        = {{If empty|{{{colour9|}}}|{{{color9|}}}}} | percentage    = {{{percentage9|}}} | seats         = {{{seats9|}}} | seats_before  = {{{seats9_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party10|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading10|}}} | party         = {{{party10|}}} | alliance      = {{{alliance10|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader10|}}} | colour        = {{If empty|{{{colour10|}}}|{{{color10|}}}}} | percentage    = {{{percentage10|}}} | seats         = {{{seats10|}}} | seats_before  = {{{seats10_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party11|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading11|}}} | party         = {{{party11|}}} | alliance      = {{{alliance11|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader11|}}} | colour        = {{If empty|{{{colour11|}}}|{{{color11|}}}}} | percentage    = {{{percentage11|}}} | seats         = {{{seats11|}}} | seats_before  = {{{seats11_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party12|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading12|}}} | party         = {{{party12|}}} | alliance      = {{{alliance12|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader12|}}} | colour        = {{If empty|{{{colour12|}}}|{{{color12|}}}}} | percentage    = {{{percentage12|}}} | seats         = {{{seats12|}}} | seats_before  = {{{seats12_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party13|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading13|}}} | party         = {{{party13|}}} | alliance      = {{{alliance13|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader13|}}} | colour        = {{If empty|{{{colour13|}}}|{{{color13|}}}}} | percentage    = {{{percentage13|}}} | seats         = {{{seats13|}}} | seats_before  = {{{seats13_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party14|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading14|}}} | party         = {{{party14|}}} | alliance      = {{{alliance14|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader14|}}} | colour        = {{If empty|{{{colour14|}}}|{{{color14|}}}}} | percentage    = {{{percentage14|}}} | seats         = {{{seats14|}}} | seats_before  = {{{seats14_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party15|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading15|}}} | party         = {{{party15|}}} | alliance      = {{{alliance15|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader15|}}} | colour        = {{If empty|{{{colour15|}}}|{{{color15|}}}}} | percentage    = {{{percentage15|}}} | seats         = {{{seats15|}}} | seats_before  = {{{seats15_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party16|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading16|}}} | party         = {{{party16|}}} | alliance      = {{{alliance16|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader16|}}} | colour        = {{If empty|{{{colour16|}}}|{{{color16|}}}}} | percentage    = {{{percentage16|}}} | seats         = {{{seats16|}}} | seats_before  = {{{seats16_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party17|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading17|}}} | party         = {{{party17|}}} | alliance      = {{{alliance17|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader17|}}} | colour        = {{If empty|{{{colour17|}}}|{{{color17|}}}}} | percentage    = {{{percentage17|}}} | seats         = {{{seats17|}}} | seats_before  = {{{seats17_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party18|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading18|}}} | party         = {{{party18|}}} | alliance      = {{{alliance18|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader18|}}} | colour        = {{If empty|{{{colour18|}}}|{{{color18|}}}}} | percentage    = {{{percentage18|}}} | seats         = {{{seats18|}}} | seats_before  = {{{seats18_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party19|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading19|}}} | party         = {{{party19|}}} | alliance      = {{{alliance19|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader19|}}} | colour        = {{If empty|{{{colour19|}}}|{{{color19|}}}}} | percentage    = {{{percentage19|}}} | seats         = {{{seats19|}}} | seats_before  = {{{seats19_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party20|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading20|}}} | party         = {{{party20|}}} | alliance      = {{{alliance20|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader20|}}} | colour        = {{If empty|{{{colour20|}}}|{{{color20|}}}}} | percentage    = {{{percentage20|}}} | seats         = {{{seats20|}}} | seats_before  = {{{seats20_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party21|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading21|}}} | party         = {{{party21|}}} | alliance      = {{{alliance21|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader21|}}} | colour        = {{If empty|{{{colour21|}}}|{{{color21|}}}}} | percentage    = {{{percentage21|}}} | seats         = {{{seats21|}}} | seats_before  = {{{seats21_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party22|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading22|}}} | party         = {{{party22|}}} | alliance      = {{{alliance22|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader22|}}} | colour        = {{If empty|{{{colour22|}}}|{{{color22|}}}}} | percentage    = {{{percentage22|}}} | seats         = {{{seats22|}}} | seats_before  = {{{seats22_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party23|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading23|}}} | party         = {{{party23|}}} | alliance      = {{{alliance23|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader23|}}} | colour        = {{If empty|{{{colour23|}}}|{{{color23|}}}}} | percentage    = {{{percentage23|}}} | seats         = {{{seats23|}}} | seats_before  = {{{seats23_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party24|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading24|}}} | party         = {{{party24|}}} | alliance      = {{{alliance24|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader24|}}} | colour        = {{If empty|{{{colour24|}}}|{{{color24|}}}}} | percentage    = {{{percentage24|}}} | seats         = {{{seats24|}}} | seats_before  = {{{seats24_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party25|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading25|}}} | party         = {{{party25|}}} | alliance      = {{{alliance25|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader25|}}} | colour        = {{If empty|{{{colour25|}}}|{{{color25|}}}}} | percentage    = {{{percentage25|}}} | seats         = {{{seats25|}}} | seats_before  = {{{seats25_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party26|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading26|}}} | party         = {{{party26|}}} | alliance      = {{{alliance26|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader26|}}} | colour        = {{If empty|{{{colour26|}}}|{{{color26|}}}}} | percentage    = {{{percentage26|}}} | seats         = {{{seats26|}}} | seats_before  = {{{seats26_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party27|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading27|}}} | party         = {{{party27|}}} | alliance      = {{{alliance27|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader27|}}} | colour        = {{If empty|{{{colour27|}}}|{{{color27|}}}}} | percentage    = {{{percentage27|}}} | seats         = {{{seats27|}}} | seats_before  = {{{seats27_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party28|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading28|}}} | party         = {{{party28|}}} | alliance      = {{{alliance28|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader28|}}} | colour        = {{If empty|{{{colour28|}}}|{{{color28|}}}}} | percentage    = {{{percentage28|}}} | seats         = {{{seats28|}}} | seats_before  = {{{seats28_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party29|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading29|}}} | party         = {{{party29|}}} | alliance      = {{{alliance29|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader29|}}} | colour        = {{If empty|{{{colour29|}}}|{{{color29|}}}}} | percentage    = {{{percentage29|}}} | seats         = {{{seats29|}}} | seats_before  = {{{seats29_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{!-}} {{#if:{{{party30|}}}| {{User:Thunderstorm008/legse/row-alt | heading       = {{{heading30|}}} | party         = {{{party30|}}} | alliance      = {{{alliance30|}}} | alliances_on  = {{{alliances_on|}}} | party_leader  = {{{party_leader30|}}} | colour        = {{If empty|{{{colour30|}}}|{{{color30|}}}}} | percentage    = {{{percentage30|}}} | seats         = {{{seats30|}}} | seats_before  = {{{seats30_before|}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} {{end}} {{#ifeq:{{{ongoing|}}}|yes||This lists parties that won seats. See the complete results Results}}}|below.}} {{infobox|child=yes {{#if:{{{before_election|}}}{{{after_election|}}}| }} }} }}
 * belowstyle = padding:0 3px
 * below =
 * image = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|upright={{#if:{{{map_upright|}}}|{{{map_upright}}}|1.3}}|alt={{{map_alt|}}}}}
 * imagestyle = border-top:1px #aaa solid; padding:0.3em 0.5em;
 * caption = {{{map_caption|}}}
 * belowstyle = border-top:1px #aaa solid; padding: 0.3em 0.5em;
 * below =

{{documentation}}