Diferencia entre revisiones de «Plantilla:Infobox election»

Página reemplazada por «<includeonly> {| class="infobox" style="width:22em; font-size:90%; text-align:left" |+ style="font-size: larger" | '''{{{nombre_elección|}}}''' |- | colspan="2" style="text-align:center;" | [[Archivo:{{{imagen_bandera|}}}|125px|Bandera de {{{país|}}}]] |- | '''País''' || {{{país|}}} |- | '''Tipo''' || {{{tipo|}}} |- | '''Fecha''' || {{{fecha_elección|}}} |- | '''Participación''' || {{{participación|}}} |- | colspan="2" style="background:#e9e9e9; text-align…»
Etiqueta: Reemplazo
Sin resumen de edición
Línea 1: Línea 1:
<includeonly>
{| 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;"
{| class="infobox" style="width:22em; font-size:90%; text-align:left"
|+ style="font-size: 125%; font-weight: bold; padding-bottom: 5px;" | {{{election_name|}}}
|+ style="font-size: larger" | '''{{{nombre_elección|}}}'''
|-
|-
| colspan="2" style="text-align:center;" | [[Archivo:{{{imagen_bandera|}}}|125px|Bandera de {{{país|}}}]]
| colspan="2" |
{| style="width: 100%; background: transparent; margin-bottom: 5px;"
| style="width: 33%; text-align: left;" | ← [[{{{previous_year|}}}]]
| style="width: 33%; text-align: center; font-weight: bold; font-size: 110%;" | {{{election_date|}}}
| style="width: 33%; text-align: right;" | ''{{{next_year|}}}'' →
|-
|-
| '''País''' || {{{país|}}}
| style="width: 33%; text-align: left; font-size: 85%; color: #0645ad;" | ← outgoing members
| style="width: 33%; text-align: center;" |
| style="width: 33%; text-align: right; font-size: 85%; color: #0645ad;" | elected members →
|}
|-
| colspan="2" style="border-top: 1px solid #a2a9b1; padding: 5px 0;" | {{{seats_for_election|}}}
|-
| colspan="2" style="padding-bottom: 5px;" | {{{opinion_polls|}}}
|-
| colspan="2" |
{| style="width: 100%; background: transparent; text-align: left;"
|-
! Registered
| style="text-align: right;" | {{{registered|}}}
|-
! Turnout
| style="text-align: right;" | {{{turnout|}}}
|}
|-
| colspan="2" style="border-top: 1px solid #a2a9b1; padding-top: 5px;" |
{| style="width: 100%; background: transparent; text-align: center; font-size: 95%;"
|-
| style="width: 33%; border-bottom: 4px solid #{{{color1|ccc}}}; padding: 2px;" | {{{image1|}}}
| style="width: 33%; border-bottom: 4px solid #{{{color2|ccc}}}; padding: 2px;" | {{{image2|}}}
| style="width: 33%; border-bottom: 4px solid #{{{color3|ccc}}}; padding: 2px;" | {{{image3|}}}
|-
! style="text-align: left;" | Leader
| style="color: #{{{color1|000}}};" | {{{leader1|}}}
| style="color: #{{{color2|000}}};" | {{{leader2|}}}
| style="color: #{{{color3|000}}};" | {{{leader3|}}}
|-
! style="text-align: left;" | Party
| style="color: #{{{color1|000}}};" | {{{party1|}}}
| style="color: #{{{color2|000}}};" | {{{party2|}}}
| style="color: #{{{color3|000}}};" | {{{party3|}}}
|-
! style="text-align: left;" | Leader since
| {{{leader_since1|}}} || {{{leader_since2|}}} || {{{leader_since3|}}}
|-
! style="text-align: left;" | Leader's seat
| {{{leaders_seat1|}}} || {{{leaders_seat2|}}} || {{{leaders_seat3|}}}
|-
! style="text-align: left;" | Last election
| {{{last_election1|}}} || {{{last_election2|}}} || {{{last_election3|}}}
|-
! style="text-align: left;" | Seats won
| {{{seats1|}}} || {{{seats2|}}} || {{{seats3|}}}
|-
! style="text-align: left;" | Seat change
| {{{seat_change1|}}} || {{{seat_change2|}}} || {{{seat_change3|}}}
|-
! style="text-align: left;" | Popular vote
| {{{popular_vote1|}}} || {{{popular_vote2|}}} || {{{popular_vote3|}}}
|-
! style="text-align: left;" | Percentage
| {{{percentage1|}}} || {{{percentage2|}}} || {{{percentage3|}}}
|-
! style="text-align: left;" | Swing
| {{{swing1|}}} || {{{swing2|}}} || {{{swing3|}}}
|}
|-
| colspan="2" style="border-top: 1px solid #a2a9b1; padding-top: 5px;" |
{{#if:{{{image4|}}}|
{| style="width: 100%; background: transparent; text-align: center; font-size: 95%;"
|-
| style="width: 33%; border-bottom: 4px solid #{{{color4|ccc}}}; padding: 2px;" | {{{image4|}}}
| style="width: 33%; border-bottom: 4px solid #{{{color5|ccc}}}; padding: 2px;" | {{{image5|}}}
| style="width: 33%; border-bottom: 4px solid #{{{color6|ccc}}}; padding: 2px;" | {{{image6|}}}
|-
|-
| '''Tipo''' || {{{tipo|}}}
! style="text-align: left;" | Leader
| style="color: #{{{color4|000}}};" | {{{leader4|}}}
| style="color: #{{{color5|000}}};" | {{{leader5|}}}
| style="color: #{{{color6|000}}};" | {{{leader6|}}}
|-
|-
| '''Fecha''' || {{{fecha_elección|}}}
! style="text-align: left;" | Party
| style="color: #{{{color4|000}}};" | {{{party4|}}}
| style="color: #{{{color5|000}}};" | {{{party5|}}}
| style="color: #{{{color6|000}}};" | {{{party6|}}}
|-
|-
| '''Participación''' || {{{participación|}}}
! style="text-align: left;" | Leader since
| {{{leader_since4|}}} || {{{leader_since5|}}} || {{{leader_since6|}}}
|-
|-
| colspan="2" style="background:#e9e9e9; text-align:center;" | '''Resultados'''
! style="text-align: left;" | Leader's seat
| {{{leaders_seat4|}}} || {{{leaders_seat5|}}} || {{{leaders_seat6|}}}
|-
|-
| '''Candidato''' || '''Votos (%)'''
! style="text-align: left;" | Last election
| {{{last_election4|}}} || {{{last_election5|}}} || {{{last_election6|}}}
|-
|-
| {{{resultados|}}}
! style="text-align: left;" | Seats won
| {{{seats4|}}} || {{{seats5|}}} || {{{seats6|}}}
|-
|-
| colspan="2" style="background:#e9e9e9; text-align:center;" | '''Mapa'''
! style="text-align: left;" | Seat change
| {{{seat_change4|}}} || {{{seat_change5|}}} || {{{seat_change6|}}}
|-
|-
| colspan="2" style="text-align:center;" | [[Archivo:{{{mapa|}}}|250px|Mapa de resultados]]
! style="text-align: left;" | Popular vote
| {{{popular_vote4|}}} || {{{popular_vote5|}}} || {{{popular_vote6|}}}
|-
! style="text-align: left;" | Percentage
| {{{percentage4|}}} || {{{percentage5|}}} || {{{percentage6|}}}
|-
! style="text-align: left;" | Swing
| {{{swing4|}}} || {{{swing5|}}} || {{{swing6|}}}
|}
|}
</includeonly>
<noinclude>
== Uso ==
Esta plantilla se utiliza para resumir información sobre elecciones.
=== Parámetros ===
* `nombre_elección`: Nombre de la elección.
* `país`: País donde se realiza la elección.
* `imagen_bandera`: Nombre del archivo de la bandera del país.
* `tipo`: Tipo de elección (por ejemplo, presidencial, parlamentaria).
* `fecha_elección`: Fecha en que se llevó a cabo la elección.
* `participación`: Porcentaje de participación electoral.
* `resultados`: Resultados de los candidatos en formato de lista.
* `mapa`: Nombre del archivo de la imagen del mapa de resultados.
=== Ejemplo de uso ===
<pre>
{{Infobox elección
| nombre_elección = Elecciones generales de Sia de 2025
| país = República de Sia
| imagen_bandera = Bandera_de_Sia.png
| tipo = General
| fecha_elección = 1 de abril de 2025
| participación = 75%
| resultados =
{{Resultado candidato|Juan Pérez|Partido Alfa|60%}}
{{Resultado candidato|María Gómez|Partido Beta|30%}}
{{Resultado candidato|Luis Martínez|Independiente|10%}}
| mapa = Mapa_resultados_Sia_2025.png
}}
}}
</pre>
|-
 
| colspan="2" style="border-top: 1px solid #a2a9b1; padding-top: 5px;" |
== Plantillas relacionadas ==
{| style="width: 100%; background: transparent; font-size: 95%;"
* [[Plantilla:Resultado candidato]]
|-
</noinclude>
! style="text-align: left; color: #0645ad;" | {{{title|}}} before election
! style="text-align: right;" | {{{posttitle|}}}
|-
| style="text-align: left;" | {{{before_election|}}}
| style="text-align: right;" | {{{after_election|}}}
|-
| style="text-align: left; color: #888;" | {{{before_party|}}}
| style="text-align: right; color: #888;" | {{{after_party|}}}
|}
|}