Diferencia entre revisiones de «Usuario:Linfocito B/Taller/Plantillas/Elecciones»

Contenido eliminado Contenido añadido
Linfocito B (discusión · contribs.)
Sin resumen de edición
Linfocito B (discusión · contribs.)
Sin resumen de edición
Línea 5:
| colspan="12" style="text-align:center; font-size:140%; height: 45px; line-height: 1.2em;" | <b class="summary">{{{nombre_elección|{{PAGENAME}}}}}</b>
|-
| colspan="12" style="text-align:center;" | {{#if:{{{elección_anterior|}}}|←&nbsp;[[{{{elección_anterior|}}}{{!}}{{{fecha_anterior|}}}]]&nbsp;•&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}}{{bandera|{{{país|}}}|{{{variante|}}}|tamaño=50px}}{{#if:{{{siguiente_elección|}}}|&nbsp;•&nbsp;[[{{{siguiente_elección|}}}{{!}}{{{siguiente_fecha|}}}]]&nbsp;→|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}}{{#if:{{{endisputa|}}}|<br />{{{endisputa}}}|}}
{{!}}-|}}
|-
{{#if:{{{fecha_elección|}}}|{{!}} colspan="12" style="text-align:center; font-size:95%;" {{!}} '''{{{fecha_elección}}}'''|}}
{{!}}-|}}
|-
{{!}}<div style="width:{{#expr:50/{{#if:{{{candidato1|}}}{{{partido1|}}}|3|4}} round 0}}px; height:1px;"></div>
{{!}}<div style="width:{{#expr:50/{{#if:{{{candidato1|}}}{{{partido1|}}}|3|4}} round 0}}px; height:1px;"></div>
Línea 23:
|-
{{#if:{{{tipo|}}}|{{!}} colspan="4" style="text-align:left;" {{!}} '''Tipo'''
{{!}} colspan="8" style="text-align:right;" {{!}} {{{tipo}}}|}}
{{!}}-|}}
|-
{{#if:{{{endisputa2|}}}|{{!}} colspan="4" style="text-align:left;" {{!}} '''Cargos a elegir'''
{{!}} colspan="8" style="text-align:right;" {{!}} {{{endisputa2}}}|}}
{{!}}-|}}
|-
{{#if:{{{total_candidatos|}}}|{{!}} colspan="4" style="text-align:left;" {{!}} '''Candidatos'''
{{!}} colspan="8" style="text-align:right;" {{!}} {{{total_candidatos}}}|}}
{{!}}-|}}
|-
{{#if:{{{período|}}}|{{!}} colspan="4" style="text-align:left;" {{!}} '''Período'''
{{!}} colspan="8" style="text-align:right;" {{!}} {{{período}}}|}}
{{!}}-|}}
|-
{{#if:{{{campaña|}}}|{{!}} colspan="4" style="text-align:left;" {{!}} '''Duración de campaña'''
{{!}} colspan="8" style="text-align:right;" {{!}} {{{campaña}}}|}}
{{!}}-|}}
|-
{{#if:{{{debate|}}}|{{!}} colspan="4" style="text-align:left;" {{!}} '''Debate(s)'''
{{!}} colspan="8" style="text-align:right;" {{!}} {{{debate}}}|}}
{{!}}-|}}
|-
{{#if:{{{registrados|}}}{{{votantes|}}}{{{válidos|}}}{{{nulos|}}}{{{blancos|}}}{{{habitantes|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-
{{!}} colspan="12" style="text-align:center; font-size:110%;"{{!}} '''Demografía electoral'''|}}
{{!}}-|}}
|-
{{#if:{{{habitantes|}}}|{{!}} colspan="8" style="text-align:left;" {{!}} '''Población'''
{{!}} colspan="4" style="text-align:right;" {{!}} {{{habitantes}}}|}}
{{!}}-|}}
|-
{{#if:{{{registrados|}}}|{{!}} colspan="8" style="text-align:left;" {{!}} '''Hab. inscritos'''
{{!}} colspan="4" style="text-align:right;" {{!}} {{{registrados}}}|}}
{{!}}-|}}
|-
{{#if:{{{votantes|}}}|{{!}} colspan="8" style="text-align:left;" {{!}} '''Votantes{{#if:{{{votantes2|}}}|&nbsp;1.ª&nbsp;vuelta|}}'''
{{!}} colspan="4" style="text-align:right;" {{!}} {{{votantes}}}|}}
{{!}}-|}}
|-
{{#if:{{{participación|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Participación
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}}|}}
{{!}}-|}}
|-
{{#if:{{{participación|}}}|{{!}} colspan="8" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:#CCC; width:{{#expr:{{{participación|0}}} round 0}}%;">&nbsp;</div>
{{!}} colspan="4" style="text-align:right;"{{!}}{{#expr:{{{participación|0}}} round 1}}&nbsp;%{{#if:{{{participación_ant|}}}|<span style="font-size:85%;">{{#ifexpr:{{{participación|1}}}>{{{participación_ant|0}}}|<span style="color:#0c3;">▲</span>|{{#ifexpr:{{{participación|1}}}<{{{participación_ant|0}}}|<span style="color:#f00;">▼</span>|<span style="color:#08f;">►</span>}}}}|}}{{#if:{{{participación_ant|}}}|&nbsp;{{#expr:{{#ifexpr:{{{participación|1}}}>{{{participación_ant|0}}}|({{{participación|1}}}-{{{participación_ant|1}}})|({{{participación_ant}}}-{{{participación}}})}} round 1}}&nbsp;%</span>|}}{{{participación_ref|}}}|}}
{{!}}-|}}
|-
{{#if:{{{válidos|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Votos válidos
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}} {{{válidos}}}|}}
{{!}}-|}}
|-
{{#if:{{{blancos|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Votos en blanco
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}} {{{blancos}}}|}}
{{!}}-|}}
|-
{{#if:{{{nulos|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Votos nulos
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}} {{{nulos}}}|}}
{{!}}-|}}
|-
{{#if:{{{sin_marcar|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Tarjetas no marcadas
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}} {{{sin_marcar}}}|}}
{{!}}-|}}
|-
{{#if:{{{votantes2|}}}|{{!}} colspan="8" style="text-align:left;" {{!}} '''Votantes&nbsp;[[Segunda vuelta electoral|2.ª&nbsp;vuelta]]'''
{{!}} colspan="4" style="text-align:right;" {{!}} {{{votantes2}}}|}}
{{!}}-|}}
|-
{{#if:{{{participación2|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Participación
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}}|}}
{{!}}-|}}
|-
{{#if:{{{participación2|}}}|{{!}} colspan="8" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:#CCC; width:{{#expr:{{{participación2|0}}} round 0}}%;">&nbsp;</div>
{{!}} colspan="4" style="text-align:right;"{{!}}{{#expr:{{{participación2|0}}} round 1}}&nbsp;%{{#if:{{{participación|}}}|<span style="font-size:85%;">&nbsp;{{#ifexpr:{{{participación2|1}}}>{{{participación|0}}}|<span style="color:#0c3;">▲</span>|{{#ifexpr:{{{participación2|1}}}<{{{participación|0}}}|<span style="color:#f00;">▼</span>|<span style="color:#08f;">►</span>}}}}|}}{{#if:{{{participación|}}}|&nbsp;{{#expr:{{#ifexpr:{{{participación2|1}}}>{{{participación|0}}}|({{{participación2|1}}}-{{{participación|1}}})|({{{participación}}}-{{{participación2}}})}} round 1}}&nbsp;%</span>|}}{{{participación2_ref|}}}|}}
{{!}}-|}}
|-
{{#if:{{{válidos2|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Votos válidos
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}} {{{válidos2}}}|}}
{{!}}-|}}
|-
{{#if:{{{blancos2|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Votos en blanco
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}} {{{blancos2}}}|}}
{{!}}-|}}
|-
{{#if:{{{nulos2|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Votos nulos
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}} {{{nulos2}}}|}}
{{!}}-|}}
|-
{{#if:{{{sin_marcar2|}}}|{{!}} colspan="8" style="text-align:left; font-size:95%;" {{!}} Tarjetas no marcadas
{{!}} colspan="4" style="text-align:right; font-size:95%;" {{!}} {{{sin_marcar2}}}|}}
{{!}}-|}}
|-
{{#if:{{{candidato1|}}}{{{partido1|}}}{{{líder1|}}}{{{barras1|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-
{{!}} colspan="12" style="text-align:center; font-size:110%;"{{!}} '''Resultados'''|}}
{{!}}-|}}
|-
 
<noinclude>Primer partido</noinclude>
Línea 579:
<noinclude>Resto de la plantilla</noinclude>
 
|-
{{#if:{{{mapa_título|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-
{{!}} colspan="12" style="text-align:center; font-size:110%;"{{!}} '''{{{mapa_título}}}'''|}}
{{!}}-|}}
|-
{{#if:{{{mapa|}}}|{{!}} colspan="12" style=" text-align:center;"{{!}} [[{{{mapa}}}|{{{mapa_tamaño|200}}}px|{{PAGENAME}}]]|}}
{{!}}-|}}
|-
{{#if:{{{leyenda_mapa1|}}}| {{!}} {{#if:{{{leyenda_mapa2|}}}|colspan="6"|colspan="12"}} style="text-align:left;" {{!}} <div>{{{leyenda_mapa1}}}</div>|}}
{{#if:{{{leyenda_mapa2|}}}|{{!}} colspan="6" {{!}} <div>{{{leyenda_mapa2}}}</div>|}}
{{!}}-|}}|}}
|-
{{#if:{{{mapa_subtítulo|}}}|{{!}} colspan="12" style="text-align:center;"{{!}} <span style="font-size:85%;">{{{mapa_subtítulo}}}</span>|}}
{{!}}-|}}
|-
{{#if:{{{diagrama_título|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-
{{!}} colspan="12" style="text-align:center; font-size:110%;"{{!}} '''{{{diagrama_título}}}'''|}}
{{!}}-|}}
|-
{{#if:{{{diagrama|}}}|{{!}} colspan="12" style="text-align:center;"{{!}} [[{{{diagrama}}}|{{{diagrama_tamaño|200}}}px|{{PAGENAME}}]]|}}
{{!}}-|}}
|-
{{#if:{{{leyenda1|}}}| {{!}} {{#if:{{{leyenda2|}}}|colspan="6"|colspan="12"}} style="text-align:left;" {{!}} <div>{{{leyenda1}}}</div>|}}
{{#if:{{{leyenda2|}}}|{{!}} colspan="6" {{!}} <div>{{{leyenda2}}}</div>|}}
{{!}}-|}}|}}
|-
{{#if:{{{diagrama2_título|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-
{{!}} colspan="12" style="text-align:center; font-size:110%;"{{!}} '''{{{diagrama2_título}}}'''|}}
{{!}}-|}}
|-
{{#if:{{{diagrama2|}}}|{{!}} colspan="12" style="text-align:center;"{{!}} [[{{{diagrama2}}}|{{{diagrama2_tamaño|200}}}px|{{PAGENAME}}]]|}}
{{!}}-|}}
|-
{{#if:{{{diagrama3_título|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-
{{!}} colspan="12" style="text-align:center; font-size:110%;"{{!}} '''{{{diagrama3_título}}}'''|}}
{{!}}-|}}
|-
{{#if:{{{diagrama3|}}}|{{!}} colspan="12" style="text-align:center;"{{!}} [[{{{diagrama3}}}|{{{diagrama3_tamaño|200}}}px|{{PAGENAME}}]]|}}
{{!}}-|}}
|-
{{#if:{{{leyenda1_2|}}}| {{!}} {{#if:{{{leyenda2_2|}}}|colspan="6"|colspan="12"}} style="text-align:left;" {{!}} <div>{{{leyenda1_2}}}</div>|}}
{{#if:{{{leyenda2_2|}}}|{{!}} colspan="6" {{!}} <div>{{{leyenda2_2}}}</div>|}}
{{!}}-|}}|}}
|-
{{#if:{{{título_barras|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-
{{!}} colspan="12" style="text-align:center; font-size:110%;"{{!}} '''{{{título_barras}}}'''|}}
{{!}}-|}}
|-
{{#if:{{{barras1|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras1}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras1|}}}; width:{{#expr:{{{porcentaje_barras1|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras1|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{barras2|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras2}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras2|}}}; width:{{#expr:{{{porcentaje_barras2|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras2|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{barras3|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras3}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras3|}}}; width:{{#expr:{{{porcentaje_barras3|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras3|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{barras4|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras4}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras4|}}}; width:{{#expr:{{{porcentaje_barras4|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras4|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{barras5|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras5}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras5|}}}; width:{{#expr:{{{porcentaje_barras5|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras5|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{barras6|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras6}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras6|}}}; width:{{#expr:{{{porcentaje_barras6|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras6|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{barras7|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras7}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras7|}}}; width:{{#expr:{{{porcentaje_barras7|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras7|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{barras8|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras8}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras8|}}}; width:{{#expr:{{{porcentaje_barras8|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras8|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{barras9|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras9}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras9|}}}; width:{{#expr:{{{porcentaje_barras9|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras9|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{barras10|}}}|{{!}} colspan="4" style="text-align:left; font-size:95%;"{{!}} {{{barras10}}}
{{!}} colspan="7" style="border: 1px solid black; background: white; position:relative; vertical-align: middle;" {{!}}<div style="background:{{{color_barras10|}}}; width:{{#expr:{{{porcentaje_barras10|0}}} round 0}}%; overflow:hidden;">&nbsp;</div>
{{!}} colspan="1" style="text-align:right; font-size:95%;"{{!}}{{#expr:{{{porcentaje_barras10|0}}} round 1}}&nbsp;%|}}
{{!}}-|}}
|-
{{#if:{{{subtítulo_barras|}}}|{{!}} colspan="12" style="text-align:center;"{{!}} <span style="font-size:85%;">{{{subtítulo_barras}}}</span>|}}
{{!}}-|}}
|-
{{#if:{{{predecesor|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-
Línea 666 ⟶ 665:
{{!}}-
{{!}} colspan="6"{{!}}<div style="text-align:left; text-size:80%; float:left;">'''Titular'''<br />{{{predecesor}}}{{#if:{{{partido_predecesor|}}}|<br /><span style="font-size:85%;">{{{partido_predecesor|}}}</span>|}}</div>
{{!}} colspan="6"{{!}}{{#if:{{{sucesor|}}}|<div style="text-align:right; text-size:80%; float:right;">'''Electo'''<br />{{{sucesor}}}{{#if:{{{partido_sucesor|}}}|<br /><span style="font-size:85%;">{{{partido_sucesor}}}</span>|}}</div>|}}}}
{{!}}-|}}
|-
{{#if:{{{extra_encabezado|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-
{{!}} colspan="12" style="text-align:center; font-size:110%;"{{!}} '''{{{extra_encabezado}}}'''|}}
{{!}}-|}}
|-
{{#if:{{{extra_contenido|}}}|{{!}} colspan="12" style="text-align:left;"{{!}}{{{extra_contenido}}}|}}
{{!}}-|}}
|-
{{#if:{{{extra_encabezado2|}}}|{{!}} colspan="12" style="text-align:center; font-size:110%;"{{!}} '''{{{extra_encabezado2}}}'''|}}
{{!}}-|}}
|-
{{#if:{{{extra_contenido2|}}}|{{!}} colspan="12" style="text-align:left;"{{!}}{{{extra_contenido2}}}|}}
{{!}}-|}}
|-
{{#if:{{{sitio_web|}}}|{{!}} colspan="12"{{!}}<hr />
{{!}}-