Diferencia entre revisiones de «Plantilla:Infobox election/custom»

Sin resumen de edición
Sin resumen de edición
Línea 19: Línea 19:
{{#if:{{{historical_legislature|}}}|
{{#if:{{{historical_legislature|}}}|
<tr>
<tr>
<th style="padding: 2px 0;">Legislatura histórica</th>
<th style="padding: 2px 0; width: auto;">Legislatura histórica</th>
<td style="text-align: right; padding: 2px 0;">{{{historical_legislature}}}</td>
<td style="text-align: right; padding: 2px 0;">{{{historical_legislature}}}</td>
</tr>
</tr>
}}
}}
<tr>
<tr>
<th style="padding: 2px 0;">Censo electoral</th>
<th style="padding: 2px 0; width: auto;">Censo electoral</th>
<td style="text-align: right; padding: 2px 0;">{{{registered|}}}</td>
<td style="text-align: right; padding: 2px 0;">{{{registered|}}}</td>
</tr>
</tr>
<tr>
<tr>
<th style="padding: 2px 0;">Participación</th>
<th style="padding: 2px 0; width: auto;">Participación</th>
<td style="text-align: right; padding: 2px 0;">{{{turnout|}}}</td>
<td style="text-align: right; padding: 2px 0;">{{{turnout|}}}</td>
</tr>
</tr>
Línea 36: Línea 36:
<table style="width: 100%; background: transparent; text-align: center; font-size: 95%; table-layout: auto; word-wrap: break-word;">
<table style="width: 100%; background: transparent; text-align: center; font-size: 95%; table-layout: auto; word-wrap: break-word;">
<tr>
<tr>
<th style="width: {{#if:{{{party3|{{{leader3|}}}}}}|25%|{{#if:{{{party2|{{{leader2|}}}}}}|33.3%|50%}}}};"></th>
<th style="width: auto; padding-right: 10px;"></th>
<td style="border-bottom: 4px solid #{{{color1|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="border-bottom: 4px solid #{{{color2|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="border-bottom: 4px solid #{{{color3|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image3|}}}</td>}}
<td style="width: auto; border-bottom: 4px solid #{{{color1|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="width: auto; border-bottom: 4px solid #{{{color2|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="width: auto; border-bottom: 4px solid #{{{color3|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image3|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Candidato</th>
<th style="text-align: left; width: auto;">Candidato</th>
<td style="text-align: center;">{{{leader1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center;">{{{leader2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center;">{{{leader3|}}}</td>}}
<td style="text-align: center; width: auto;">{{{leader1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center; width: auto;">{{{leader2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center; width: auto;">{{{leader3|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Partido</th>
<th style="text-align: left; width: auto;">Partido</th>
<td style="text-align: center;">{{{party1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center;">{{{party2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center;">{{{party3|}}}</td>}}
<td style="text-align: center; width: auto;">{{{party1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center; width: auto;">{{{party2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center; width: auto;">{{{party3|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
Línea 52: Línea 52:
     <div style="font-weight: bold; cursor: pointer; text-align: center; background: #f0f0f0; padding: 2px;">▼ Mostrar alianzas</div>
     <div style="font-weight: bold; cursor: pointer; text-align: center; background: #f0f0f0; padding: 2px;">▼ Mostrar alianzas</div>
     <div class="mw-collapsible-content">
     <div class="mw-collapsible-content">
       <table style="width: 100%; background: transparent; text-align: center; table-layout: fixed; word-wrap: break-word;">
       <table style="width: 100%; background: transparent; text-align: center; table-layout: auto; word-wrap: break-word;">
         <tr>
         <tr>
           <th style="width: {{#if:{{{party3|{{{leader3|}}}}}}|25%|{{#if:{{{party2|{{{leader2|}}}}}}|33.3%|50%}}}}; text-align: left;">Alianza</th>
           <th style="width: auto; text-align: left; padding-right: 10px;">Alianza</th>
           <td style="text-align: center;">''{{{alliance1|}}}''</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center;">''{{{alliance2|}}}''</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center;">''{{{alliance3|}}}''</td>}}
           <td style="text-align: center; width: auto;">''{{{alliance1|}}}''</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center; width: auto;">''{{{alliance2|}}}''</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center; width: auto;">''{{{alliance3|}}}''</td>}}
         </tr>
         </tr>
       </table>
       </table>
Línea 63: Línea 63:
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Última elección</th>
<th style="text-align: left; width: auto;">Última elección</th>
<td style="text-align: center;">{{{last_election1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center;">{{{last_election2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center;">{{{last_election3|}}}</td>}}
<td style="text-align: center; width: auto;">{{{last_election1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center; width: auto;">{{{last_election2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center; width: auto;">{{{last_election3|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Votos</th>
<th style="text-align: left; width: auto;">Votos</th>
<td style="text-align: center;">{{{popular_vote1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center;">{{{popular_vote2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center;">{{{popular_vote3|}}}</td>}}
<td style="text-align: center; width: auto;">{{{popular_vote1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center; width: auto;">{{{popular_vote2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center; width: auto;">{{{popular_vote3|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Porcentaje</th>
<th style="text-align: left; width: auto;">Porcentaje</th>
<td style="text-align: center;">{{{percentage1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center;">{{{percentage2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center;">{{{percentage3|}}}</td>}}
<td style="text-align: center; width: auto;">{{{percentage1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center; width: auto;">{{{percentage2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center; width: auto;">{{{percentage3|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Variación</th>
<th style="text-align: left; width: auto;">Variación</th>
<td style="text-align: center;">{{{swing1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center;">{{{swing2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center;">{{{swing3|}}}</td>}}
<td style="text-align: center; width: auto;">{{{swing1|}}}</td>{{#if:{{{party2|{{{leader2|}}}}}}|<td style="text-align: center; width: auto;">{{{swing2|}}}</td>}}{{#if:{{{party3|{{{leader3|}}}}}}|<td style="text-align: center; width: auto;">{{{swing3|}}}</td>}}
</tr>
</tr>
</table>
</table>


{{#if:{{{party4|{{{leader4|{{{image4|}}}}}}}}}|
{{#if:{{{party4|{{{leader4|{{{image4|}}}}}}}}}|
<table style="width: 100%; background: transparent; text-align: center; font-size: 95%; table-layout: fixed; border-top: 1px solid #a2a9b1; margin-top: 5px; padding-top: 5px; word-wrap: break-word;">
<table style="width: 100%; background: transparent; text-align: center; font-size: 95%; table-layout: auto; border-top: 1px solid #a2a9b1; margin-top: 5px; padding-top: 5px; word-wrap: break-word;">
<tr>
<tr>
<th style="width: {{#if:{{{party6|{{{leader6|}}}}}}|25%|{{#if:{{{party5|{{{leader5|}}}}}}|33.3%|50%}}}};"></th>
<th style="width: auto; padding-right: 10px;"></th>
<td style="border-bottom: 4px solid #{{{color4|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="border-bottom: 4px solid #{{{color5|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="border-bottom: 4px solid #{{{color6|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image6|}}}</td>}}
<td style="width: auto; border-bottom: 4px solid #{{{color4|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="width: auto; border-bottom: 4px solid #{{{color5|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="width: auto; border-bottom: 4px solid #{{{color6|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image6|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Candidato</th>
<th style="text-align: left; width: auto;">Candidato</th>
<td style="text-align: center;">{{{leader4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center;">{{{leader5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center;">{{{leader6|}}}</td>}}
<td style="text-align: center; width: auto;">{{{leader4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center; width: auto;">{{{leader5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center; width: auto;">{{{leader6|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Partido</th>
<th style="text-align: left; width: auto;">Partido</th>
<td style="text-align: center;">{{{party4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center;">{{{party5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center;">{{{party6|}}}</td>}}
<td style="text-align: center; width: auto;">{{{party4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center; width: auto;">{{{party5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center; width: auto;">{{{party6|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
Línea 99: Línea 99:
     <div style="font-weight: bold; cursor: pointer; text-align: center; background: #f0f0f0; padding: 2px;">▼ Mostrar alianzas</div>
     <div style="font-weight: bold; cursor: pointer; text-align: center; background: #f0f0f0; padding: 2px;">▼ Mostrar alianzas</div>
     <div class="mw-collapsible-content">
     <div class="mw-collapsible-content">
       <table style="width: 100%; background: transparent; text-align: center; table-layout: fixed; word-wrap: break-word;">
       <table style="width: 100%; background: transparent; text-align: center; table-layout: auto; word-wrap: break-word;">
         <tr>
         <tr>
           <th style="width: {{#if:{{{party6|{{{leader6|}}}}}}|25%|{{#if:{{{party5|{{{leader5|}}}}}}|33.3%|50%}}}}; text-align: left;">Alianza</th>
           <th style="width: auto; text-align: left; padding-right: 10px;">Alianza</th>
           <td style="text-align: center;">''{{{alliance4|}}}''</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center;">''{{{alliance5|}}}''</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center;">''{{{alliance6|}}}''</td>}}
           <td style="text-align: center; width: auto;">''{{{alliance4|}}}''</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center; width: auto;">''{{{alliance5|}}}''</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center; width: auto;">''{{{alliance6|}}}''</td>}}
         </tr>
         </tr>
       </table>
       </table>
Línea 110: Línea 110:
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Última elección</th>
<th style="text-align: left; width: auto;">Última elección</th>
<td style="text-align: center;">{{{last_election4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center;">{{{last_election5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center;">{{{last_election6|}}}</td>}}
<td style="text-align: center; width: auto;">{{{last_election4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center; width: auto;">{{{last_election5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center; width: auto;">{{{last_election6|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Votos</th>
<th style="text-align: left; width: auto;">Votos</th>
<td style="text-align: center;">{{{popular_vote4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center;">{{{popular_vote5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center;">{{{popular_vote6|}}}</td>}}
<td style="text-align: center; width: auto;">{{{popular_vote4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center; width: auto;">{{{popular_vote5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center; width: auto;">{{{popular_vote6|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Porcentaje</th>
<th style="text-align: left; width: auto;">Porcentaje</th>
<td style="text-align: center;">{{{percentage4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center;">{{{percentage5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center;">{{{percentage6|}}}</td>}}
<td style="text-align: center; width: auto;">{{{percentage4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center; width: auto;">{{{percentage5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center; width: auto;">{{{percentage6|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Variación</th>
<th style="text-align: left; width: auto;">Variación</th>
<td style="text-align: center;">{{{swing4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center;">{{{swing5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center;">{{{swing6|}}}</td>}}
<td style="text-align: center; width: auto;">{{{swing4|}}}</td>{{#if:{{{party5|{{{leader5|}}}}}}|<td style="text-align: center; width: auto;">{{{swing5|}}}</td>}}{{#if:{{{party6|{{{leader6|}}}}}}|<td style="text-align: center; width: auto;">{{{swing6|}}}</td>}}
</tr>
</tr>
</table>
</table>
Línea 129: Línea 129:


{{#if:{{{party7|{{{leader7|{{{image7|}}}}}}}}}|
{{#if:{{{party7|{{{leader7|{{{image7|}}}}}}}}}|
<table style="width: 100%; background: transparent; text-align: center; font-size: 95%; table-layout: fixed; border-top: 1px solid #a2a9b1; margin-top: 5px; padding-top: 5px; word-wrap: break-word;">
<table style="width: 100%; background: transparent; text-align: center; font-size: 95%; table-layout: auto; border-top: 1px solid #a2a9b1; margin-top: 5px; padding-top: 5px; word-wrap: break-word;">
<tr>
<tr>
<th style="width: {{#if:{{{party9|{{{leader9|}}}}}}|25%|{{#if:{{{party8|{{{leader8|}}}}}}|33.3%|50%}}}};"></th>
<th style="width: auto; padding-right: 10px;"></th>
<td style="border-bottom: 4px solid #{{{color7|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="border-bottom: 4px solid #{{{color8|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="border-bottom: 4px solid #{{{color9|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image9|}}}</td>}}
<td style="width: auto; border-bottom: 4px solid #{{{color7|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="width: auto; border-bottom: 4px solid #{{{color8|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="width: auto; border-bottom: 4px solid #{{{color9|ccc}}}; padding: 0 2px 2px 2px; text-align: center; vertical-align: bottom;">{{{image9|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Candidato</th>
<th style="text-align: left; width: auto;">Candidato</th>
<td style="text-align: center;">{{{leader7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center;">{{{leader8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center;">{{{leader9|}}}</td>}}
<td style="text-align: center; width: auto;">{{{leader7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center; width: auto;">{{{leader8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center; width: auto;">{{{leader9|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Partido</th>
<th style="text-align: left; width: auto;">Partido</th>
<td style="text-align: center;">{{{party7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center;">{{{party8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center;">{{{party9|}}}</td>}}
<td style="text-align: center; width: auto;">{{{party7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center; width: auto;">{{{party8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center; width: auto;">{{{party9|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
Línea 147: Línea 147:
     <div style="font-weight: bold; cursor: pointer; text-align: center; background: #f0f0f0; padding: 2px;">▼ Mostrar alianzas</div>
     <div style="font-weight: bold; cursor: pointer; text-align: center; background: #f0f0f0; padding: 2px;">▼ Mostrar alianzas</div>
     <div class="mw-collapsible-content">
     <div class="mw-collapsible-content">
       <table style="width: 100%; background: transparent; text-align: center; table-layout: fixed; word-wrap: break-word;">
       <table style="width: 100%; background: transparent; text-align: center; table-layout: auto; word-wrap: break-word;">
         <tr>
         <tr>
           <th style="width: {{#if:{{{party9|{{{leader9|}}}}}}|25%|{{#if:{{{party8|{{{leader8|}}}}}}|33.3%|50%}}}}; text-align: left;">Alianza</th>
           <th style="width: auto; text-align: left; padding-right: 10px;">Alianza</th>
           <td style="text-align: center;">''{{{alliance7|}}}''</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center;">''{{{alliance8|}}}''</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center;">''{{{alliance9|}}}''</td>}}
           <td style="text-align: center; width: auto;">''{{{alliance7|}}}''</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center; width: auto;">''{{{alliance8|}}}''</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center; width: auto;">''{{{alliance9|}}}''</td>}}
         </tr>
         </tr>
       </table>
       </table>
Línea 158: Línea 158:
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Última elección</th>
<th style="text-align: left; width: auto;">Última elección</th>
<td style="text-align: center;">{{{last_election7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center;">{{{last_election8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center;">{{{last_election9|}}}</td>}}
<td style="text-align: center; width: auto;">{{{last_election7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center; width: auto;">{{{last_election8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center; width: auto;">{{{last_election9|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Votos</th>
<th style="text-align: left; width: auto;">Votos</th>
<td style="text-align: center;">{{{popular_vote7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center;">{{{popular_vote8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center;">{{{popular_vote9|}}}</td>}}
<td style="text-align: center; width: auto;">{{{popular_vote7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center; width: auto;">{{{popular_vote8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center; width: auto;">{{{popular_vote9|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Porcentaje</th>
<th style="text-align: left; width: auto;">Porcentaje</th>
<td style="text-align: center;">{{{percentage7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center;">{{{percentage7|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center;">{{{percentage9|}}}</td>}}
<td style="text-align: center; width: auto;">{{{percentage7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center; width: auto;">{{{percentage7|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center; width: auto;">{{{percentage9|}}}</td>}}
</tr>
</tr>
<tr>
<tr>
<th style="text-align: left;">Variación</th>
<th style="text-align: left; width: auto;">Variación</th>
<td style="text-align: center;">{{{swing7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center;">{{{swing8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center;">{{{swing9|}}}</td>}}
<td style="text-align: center; width: auto;">{{{swing7|}}}</td>{{#if:{{{party8|{{{leader8|}}}}}}|<td style="text-align: center; width: auto;">{{{swing8|}}}</td>}}{{#if:{{{party9|{{{leader9|}}}}}}|<td style="text-align: center; width: auto;">{{{swing9|}}}</td>}}
</tr>
</tr>
</table>
</table>