Diferencia entre revisiones de «Plantilla:Ficha/Sucesión»

Elimino línea que genera un margen vacío
Añado posibilidad de cambiar el color de la fuente (si el fondo es muy oscuro, queda mejor con una fuente de color claro)
Línea 6: Línea 6:
|<td style="width:33%; padding:0.2em 0.1em 0.2em 0;vertical-align: middle;"><span style="font-style:{{{estilo fuente|}}};">{{{1|}}}</span>{{#if:{{{año anterior|}}}|<br />({{{año anterior}}})}}</td>
|<td style="width:33%; padding:0.2em 0.1em 0.2em 0;vertical-align: middle;"><span style="font-style:{{{estilo fuente|}}};">{{{1|}}}</span>{{#if:{{{año anterior|}}}|<br />({{{año anterior}}})}}</td>
}}
}}
<td style="padding:0.2em 0.1em; background-color:{{{color|#E6E8FA}}}; vertical-align: middle">{{#ifeq:{{{flechas|}}}|sí|{{#if:{{{1}}}|<i style="margin-right: 0.4em; color:#404040; font-style:normal; font-weight: normal;" title="Anterior">←</i>}}}}<span style="font-weight:bold; font-style:{{{estilo fuente|}}};">{{{2|}}}</span>{{#ifeq:{{{flechas|}}}|sí|{{#if:{{{3}}}|<i style="margin-left: 0.4em; color:#404040; font-style:normal; font-weight: normal;" title="Siguiente">→</i>}}}}{{#if:{{{año|}}}|<br />({{{año}}})}}</td>
<td style="padding:0.2em 0.1em; background-color:{{{color|#E6E8FA}}}; vertical-align: middle">{{#ifeq:{{{flechas|}}}|sí|{{#if:{{{1}}}|<i style="margin-right: 0.4em; color:#404040; font-style:normal; font-weight: normal;" title="Anterior">←</i>}}}}<span style="font-weight:bold; font-style:{{{estilo fuente|normal}}}; font-color:{{{color fuente|#000}}};">{{{2|}}}</span>{{#ifeq:{{{flechas|}}}|sí|{{#if:{{{3}}}|<i style="margin-left: 0.4em; color:#404040; font-style:normal; font-weight: normal;" title="Siguiente">→</i>}}}}{{#if:{{{año|}}}|<br />({{{año}}})}}</td>
{{#ifeq:{{{ocultar_vacíos|}}}|sí|
{{#ifeq:{{{ocultar_vacíos|}}}|sí|
{{#if: {{{3|}}} |<td style="width:{{#if:{{{1|}}}|33|50}}%; padding:0.2em 0 0.2em 0.1em;vertical-align: middle;"><span style="font-style:{{{estilo fuente|}}};">{{{3|}}}</span>{{#if:{{{año siguiente|}}}|<br />({{{año siguiente}}})}}</td>}}
{{#if: {{{3|}}} |<td style="width:{{#if:{{{1|}}}|33|50}}%; padding:0.2em 0 0.2em 0.1em;vertical-align: middle;"><span style="font-style:{{{estilo fuente|}}};">{{{3|}}}</span>{{#if:{{{año siguiente|}}}|<br />({{{año siguiente}}})}}</td>}}