Diferencia entre revisiones de «Plantilla:Infobox election»

Sin resumen de edición
Sin resumen de edición
Línea 42: Línea 42:
<td style="width: 25%;"></td>
<td style="width: 25%;"></td>
<td style="width: 25%; border-bottom: 4px solid #{{{color1|ccc}}}; padding: 2px;">
<td style="width: 25%; border-bottom: 4px solid #{{{color1|ccc}}}; padding: 2px;">
   <div style="width: 80px; height: 80px; overflow: hidden; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image1|}}}</div>
   <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image1|}}}</div>
</td>
</td>
<td style="width: 25%; border-bottom: 4px solid #{{{color2|ccc}}}; padding: 2px;">
<td style="width: 25%; border-bottom: 4px solid #{{{color2|ccc}}}; padding: 2px;">
   <div style="width: 80px; height: 80px; overflow: hidden; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image2|}}}</div>
   <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image2|}}}</div>
</td>
</td>
<td style="width: 25%; border-bottom: 4px solid #{{{color3|ccc}}}; padding: 2px;">
<td style="width: 25%; border-bottom: 4px solid #{{{color3|ccc}}}; padding: 2px;">
   <div style="width: 80px; height: 80px; overflow: hidden; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image3|}}}</div>
   <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image3|}}}</div>
</td>
</td>
</tr>
</tr>
Línea 102: Línea 102:
<td style="width: 25%;"></td>
<td style="width: 25%;"></td>
<td style="width: 25%; border-bottom: 4px solid #{{{color4|ccc}}}; padding: 2px;">
<td style="width: 25%; border-bottom: 4px solid #{{{color4|ccc}}}; padding: 2px;">
   <div style="width: 80px; height: 80px; overflow: hidden; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image4|}}}</div>
   <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image4|}}}</div>
</td>
</td>
<td style="width: 25%; border-bottom: 4px solid #{{{color5|ccc}}}; padding: 2px;">
<td style="width: 25%; border-bottom: 4px solid #{{{color5|ccc}}}; padding: 2px;">
   <div style="width: 80px; height: 80px; overflow: hidden; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image5|}}}</div>
   <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image5|}}}</div>
</td>
</td>
<td style="width: 25%; border-bottom: 4px solid #{{{color6|ccc}}}; padding: 2px;">
<td style="width: 25%; border-bottom: 4px solid #{{{color6|ccc}}}; padding: 2px;">
   <div style="width: 80px; height: 80px; overflow: hidden; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image6|}}}</div>
   <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image6|}}}</div>
</td>
</td>
</tr>
</tr>
Línea 154: Línea 154:
<th style="text-align: left;">Variación</th>
<th style="text-align: left;">Variación</th>
<td>{{{swing4|}}}</td><td>{{{swing5|}}}</td><td>{{{swing6|}}}</td>
<td>{{{swing4|}}}</td><td>{{{swing5|}}}</td><td>{{{swing6|}}}</td>
</tr>
</table>
}}
|-
{{#if:{{{image7|}}}|
| colspan="2" style="border-top: 1px solid #a2a9b1; padding-top: 5px;" |
<table style="width: 100%; background: transparent; text-align: center; font-size: 95%; table-layout: fixed;">
<tr>
<td style="width: 25%;"></td>
<td style="width: 25%; border-bottom: 4px solid #{{{color7|ccc}}}; padding: 2px;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image7|}}}</div>
</td>
<td style="width: 25%; border-bottom: 4px solid #{{{color8|ccc}}}; padding: 2px;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image8|}}}</div>
</td>
<td style="width: 25%; border-bottom: 4px solid #{{{color9|ccc}}}; padding: 2px;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image9|}}}</div>
</td>
</tr>
<tr>
<th style="text-align: left;">Líder</th>
<td style="color: #{{{color7|000}}};">{{{leader7|}}}</td>
<td style="color: #{{{color8|000}}};">{{{leader8|}}}</td>
<td style="color: #{{{color9|000}}};">{{{leader9|}}}</td>
</tr>
<tr>
<th style="text-align: left;">Partido</th>
<td>{{{party7|}}}</td>
<td>{{{party8|}}}</td>
<td>{{{party9|}}}</td>
</tr>
<tr>
<th style="text-align: left;">Líder desde</th>
<td>{{{leader_since7|}}}</td><td>{{{leader_since8|}}}</td><td>{{{leader_since9|}}}</td>
</tr>
<tr>
<th style="text-align: left;">Circunscripción</th>
<td>{{{leaders_seat7|}}}</td><td>{{{leaders_seat8|}}}</td><td>{{{leaders_seat9|}}}</td>
</tr>
<tr>
<th style="text-align: left;">Última elección</th>
<td>{{{last_election7|}}}</td><td>{{{last_election8|}}}</td><td>{{{last_election9|}}}</td>
</tr>
<tr>
<th style="text-align: left;">Escaños</th>
<td>{{{seats7|}}}</td><td>{{{seats8|}}}</td><td>{{{seats9|}}}</td>
</tr>
<tr>
<th style="text-align: left;">Diferencia</th>
<td>{{{seat_change7|}}}</td><td>{{{seat_change8|}}}</td><td>{{{seat_change9|}}}</td>
</tr>
<tr>
<th style="text-align: left;">Votos</th>
<td>{{{popular_vote7|}}}</td><td>{{{popular_vote8|}}}</td><td>{{{popular_vote9|}}}</td>
</tr>
<tr>
<th style="text-align: left;">Porcentaje</th>
<td>{{{percentage7|}}}</td><td>{{{percentage8|}}}</td><td>{{{percentage9|}}}</td>
</tr>
<tr>
<th style="text-align: left;">Variación</th>
<td>{{{swing7|}}}</td><td>{{{swing8|}}}</td><td>{{{swing9|}}}</td>
</tr>
</tr>
</table>
</table>