Diferencia entre revisiones de «Plantilla:Infobox election»

Sin resumen de edición
Sin resumen de edición
Línea 20: Línea 20:
|-
|-
| colspan="2" |
| colspan="2" |
{| style="width: 100%; background: transparent; text-align: left;"
<table style="width: 100%; background: transparent; text-align: left; font-size: 95%;">
|-
{{#if:{{{historical_legislature|}}}|
! Censo electoral
<tr>
| style="text-align: right;" | {{{registered|}}}
<th style="padding: 2px 0;">Legislatura histórica</th>
|-
<td style="text-align: right; padding: 2px 0;">{{{historical_legislature}}}</td>
! Participación
</tr>
| style="text-align: right;" | {{{turnout|}}}
}}
|}
<tr>
<th style="padding: 2px 0;">Censo electoral</th>
<td style="text-align: right; padding: 2px 0;">{{{registered|}}}</td>
</tr>
<tr>
<th style="padding: 2px 0;">Participación</th>
<td style="text-align: right; padding: 2px 0;">{{{turnout|}}}</td>
</tr>
</table>
|-
|-
| colspan="2" style="border-top: 1px solid #a2a9b1; padding-top: 5px;" |
| colspan="2" style="border-top: 1px solid #a2a9b1; padding-top: 5px;" |
Línea 33: Línea 41:
<tr>
<tr>
<td style="width: 25%;"></td>
<td style="width: 25%;"></td>
<td style="width: 25%; border-bottom: 4px solid #{{{color1|ccc}}}; padding: 2px;">{{{image1|}}}</td>
<td style="width: 25%; border-bottom: 4px solid #{{{color1|ccc}}}; padding: 2px;">
<td style="width: 25%; border-bottom: 4px solid #{{{color2|ccc}}}; padding: 2px;">{{{image2|}}}</td>
  <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>
<td style="width: 25%; border-bottom: 4px solid #{{{color3|ccc}}}; padding: 2px;">{{{image3|}}}</td>
</td>
<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>
</td>
<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>
</td>
</tr>
</tr>
<tr>
<tr>
Línea 87: Línea 101:
<tr>
<tr>
<td style="width: 25%;"></td>
<td style="width: 25%;"></td>
<td style="width: 25%; border-bottom: 4px solid #{{{color4|ccc}}}; padding: 2px;">{{{image4|}}}</td>
<td style="width: 25%; border-bottom: 4px solid #{{{color4|ccc}}}; padding: 2px;">
<td style="width: 25%; border-bottom: 4px solid #{{{color5|ccc}}}; padding: 2px;">{{{image5|}}}</td>
  <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>
<td style="width: 25%; border-bottom: 4px solid #{{{color6|ccc}}}; padding: 2px;">{{{image6|}}}</td>
</td>
<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>
</td>
<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>
</td>
</tr>
</tr>
<tr>
<tr>