Diferencia entre revisiones de «Plantilla:Infobox election/custom»
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 1: | Línea 1: | ||
{| class="infobox" style="width:380px; text-align:center; font-size:90%; line-height:1. | {| class="infobox" style="width: 380px; text-align: center; font-size: 90%; line-height: 1.5em; background: #f8f9fa; border: 1px solid #a2a9b1; padding: 5px; float: right; margin-left: 15px;" | ||
|+ style="font-size:125%; font-weight:bold; padding:5px;" | {{{título|{{{election_name|}}}}}} | |+ style="font-size: 125%; font-weight: bold; padding-bottom: 5px;" | {{{título|{{{election_name|}}}}}} | ||
|- | |- | ||
| colspan=" | | colspan="2" style="padding-bottom: 10px; text-align: center;" | [[Archivo:{{{escudo|{{{logo|}}}}}}|120px]] | ||
|- | |- | ||
| colspan=" | | colspan="2" | | ||
{| style="width:100%; background:transparent; margin-bottom:5px | {| style="width: 100%; background: transparent; margin-bottom: 5px;" | ||
| style="width:33%; text-align:left;" | [[{{{elección_anterior|← {{{año_anterior|}}}}}}]] | | style="width: 33%; text-align: left;" | [[{{{elección_anterior|← {{{año_anterior|{{{previous_year|}}}}}}}}}]] | ||
| style="width: | | style="width: 33%; text-align: center; font-weight: bold; font-size: 110%;" | {{{año|{{{election_date|}}}}}} | ||
| style="width:33%; text-align:right;" | [[{{{elección_siguiente|{{{año_siguiente|}}}}}}]] → | | style="width: 33%; text-align: right;" | [[{{{elección_siguiente|{{{año_siguiente|{{{next_year|}}}}}}}}}]] → | ||
|} | |} | ||
|- | |- | ||
| colspan=" | | colspan="2" style="border-top: 1px solid #a2a9b1; padding: 5px 0;" | {{{escaños_en_juego|{{{seats_for_election|}}}}}} | ||
|- | |- | ||
| colspan=" | | colspan="2" style="padding-bottom: 5px;" | {{{encuestas|{{{opinion_polls|}}}}}} | ||
|- | |- | ||
| colspan=" | | colspan="2" | | ||
<table style="width:100%; background:transparent; text-align:left; font-size:95% | <table style="width: 100%; background: transparent; text-align: left; font-size: 95%;"> | ||
{{#if:{{{legislatura_historica|}}}|<tr><th style="padding: | {{#if:{{{legislatura_historica|{{{historical_legislature|}}}}}}| | ||
<tr><th style="padding: | <tr> | ||
<tr><th style="padding: | <th style="padding: 2px 0;">Legislatura histórica</th> | ||
<td style="text-align: right; padding: 2px 0;">{{{legislatura_historica|{{{historical_legislature|}}}}}}</td> | |||
</tr> | |||
}} | |||
<tr> | |||
<th style="padding: 2px 0;">Censo electoral</th> | |||
<td style="text-align: right; padding: 2px 0;">{{{censo|{{{registered|}}}}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="padding: 2px 0;">Participación</th> | |||
<td style="text-align: right; padding: 2px 0;">{{{participación|{{{turnout|}}}}}}</td> | |||
</tr> | |||
</table> | </table> | ||
|- | |- | ||
| colspan=" | | colspan="2" style="border-top: 1px solid #a2a9b1; padding-top: 5px;" | | ||
<table style="width:100%; background:transparent; text-align:center; font-size: | {{#if:{{{nombre_candidato2|}}}| | ||
<table style="width: 100%; background: transparent; text-align: center; font-size: 95%; table-layout: fixed;"> | |||
{{#if:{{{nombre_candidato3|}}}| | |||
<tr> | |||
<td style="width: 25%;"></td> | |||
<td style="border-bottom: 4px solid #{{{color_candidato1|ccc}}}; padding: 2px;">[[Archivo:{{{imagen_candidato1|}}}|90px]]</td> | |||
<td style="border-bottom: 4px solid #{{{color_candidato2|ccc}}}; padding: 2px;">[[Archivo:{{{imagen_candidato2|}}}|90px]]</td> | |||
<td style="border-bottom: 4px solid #{{{color_candidato3|ccc}}}; padding: 2px;">[[Archivo:{{{imagen_candidato3|}}}|90px]]</td> | |||
</tr> | |||
<tr> | |||
<th style="text-align: left;">Candidato</th> | |||
<td style="color: #{{{color_candidato1|000}}};">{{{nombre_candidato1|}}}</td> | |||
<td style="color: #{{{color_candidato2|000}}};">{{{nombre_candidato2|}}}</td> | |||
<td style="color: #{{{color_candidato3|000}}};">{{{nombre_candidato3|}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="text-align: left;">Partido</th> | |||
<td>{{{partido_candidato1|}}}</td> | |||
<td>{{{partido_candidato2|}}}</td> | |||
<td>{{{partido_candidato3|}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="text-align: left;">Coalición</th> | |||
<td>{{{coalición_candidato1|}}}</td> | |||
<td>{{{coalición_candidato2|}}}</td> | |||
<td>{{{coalición_candidato3|}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="text-align: left;">Votos</th> | |||
<td>{{{votos_candidato1|}}}</td> | |||
<td>{{{votos_candidato2|}}}</td> | |||
<td>{{{votos_candidato3|}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="text-align: left;">Porcentaje</th> | |||
<td>{{{porcentaje_candidato1|}}}</td> | |||
<td>{{{porcentaje_candidato2|}}}</td> | |||
<td>{{{porcentaje_candidato3|}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="text-align: left;">Variación</th> | |||
<td>{{{variación_candidato1|}}}</td> | |||
<td>{{{variación_candidato2|}}}</td> | |||
<td>{{{variación_candidato3|}}}</td> | |||
</tr> | |||
| | |||
<tr> | <tr> | ||
<td style="width: 25%;"></td> | |||
<td style="border-bottom: 4px solid #{{{color_candidato1|ccc}}}; padding: 2px;" colspan="2">[[Archivo:{{{imagen_candidato1|}}}|90px]]</td> | |||
<td style="border-bottom: 4px solid #{{{color_candidato2|ccc}}}; padding: 2px;">[[Archivo:{{{imagen_candidato2|}}}|90px]]</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="text-align: left;">Candidato</th> | |||
<td style="color: #{{{color_candidato1|000}}};" colspan="2">{{{nombre_candidato1|}}}</td> | |||
<td style="color: #{{{color_candidato2|000}}};">{{{nombre_candidato2|}}}</td> | |||
</tr> | </tr> | ||
<tr style=" | <tr> | ||
<th style="text-align: left;">Partido</th> | |||
<td colspan="2">{{{partido_candidato1|}}}</td> | |||
<td>{{{partido_candidato2|}}}</td> | |||
</tr> | </tr> | ||
<tr style=" | <tr> | ||
<th style="text-align: left;">Coalición</th> | |||
<td colspan="2">{{{coalición_candidato1|}}}</td> | |||
<td>{{{coalición_candidato2|}}}</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
{{# | <th style="text-align: left;">Votos</th> | ||
{{#if:{{{ | <td colspan="2">{{{votos_candidato1|}}}</td> | ||
{{#if:{{{ | <td>{{{votos_candidato2|}}}</td> | ||
</tr> | |||
<tr> | |||
<th style="text-align: left;">Porcentaje</th> | |||
<td colspan="2">{{{porcentaje_candidato1|}}}</td> | |||
<td>{{{porcentaje_candidato2|}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="text-align: left;">Variación</th> | |||
<td colspan="2">{{{variación_candidato1|}}}</td> | |||
<td>{{{variación_candidato2|}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
| | |||
<table style="width: 100%; background: transparent; text-align: left; font-size: 95%;"> | |||
<tr> | |||
<td style="width: 90px; border-bottom: 4px solid #{{{color_candidato1|ccc}}}; padding: 2px; text-align: center;">[[Archivo:{{{imagen_candidato1|}}}|90px]]</td> | |||
<td style="padding-left: 10px;"> | |||
<table style="width: 100%;"> | |||
<tr><th style="text-align: left;">Candidato</th><td style="color: #{{{color_candidato1|000}}};">{{{nombre_candidato1|}}}</td></tr> | |||
<tr><th style="text-align: left;">Partido</th><td>{{{partido_candidato1|}}}</td></tr> | |||
{{#if:{{{coalición_candidato1|}}}| | |||
<tr><th style="text-align: left;">Coalición</th><td>{{{coalición_candidato1|}}}</td></tr> | |||
}} | |||
<tr><th style="text-align: left;">Votos</th><td>{{{votos_candidato1|}}}</td></tr> | |||
<tr><th style="text-align: left;">Porcentaje</th><td>{{{porcentaje_candidato1|}}}</td></tr> | |||
{{#if:{{{variación_candidato1|}}}| | |||
<tr><th style="text-align: left;">Variación</th><td>{{{variación_candidato1|}}}</td></tr> | |||
}} | |||
</table> | |||
</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
}} | |||
|- | |- | ||
| colspan=" | | colspan="2" style="border-top: 1px solid #a2a9b1; padding-top: 5px;" | | ||
{| style="width:100%; background:transparent; font-size: | {| style="width: 100%; background: transparent; font-size: 95%;" | ||
|- | |- | ||
! style="text-align:left; color:#0645ad;" | {{{cargo_titular|Cargo}}} saliente | ! style="text-align: left; color: #0645ad;" | {{{cargo_titular|{{{title|Cargo}}}}}} saliente | ||
! style="text-align:right;" | | ! style="text-align: right;" | {{{cargo_electo|{{{posttitle|Cargo electo}}}}}} | ||
|- | |- | ||
| style="text-align:left;" | {{{titular_nombre|{{{before_election|}}}}}} | | style="text-align: left;" | {{{titular_nombre|{{{before_election|}}}}}} | ||
| style="text-align:right | | style="text-align: right;" | {{{electo_nombre|{{{after_election|}}}}}} | ||
|- | |- | ||
| style="text-align:left; color:# | | style="text-align: left; color: #888;" | {{{titular_partido|{{{before_party|}}}}}} | ||
| style="text-align:right; color:# | | style="text-align: right; color: #888;" | {{{electo_partido|{{{after_party|}}}}}} | ||
|} | |} | ||
|} | |} | ||
<noinclude> | |||
{{Documentación}} | |||
[[Categoría:Wikipedia:Fichas de elecciones]] | |||
</noinclude> | |||