Diferencia entre revisiones de «Plantilla:Infobox election/custom»

Sin resumen de edición
Sin resumen de edición
Línea 39: Línea 39:
<tr>
<tr>
<td style="width: 25%;"></td>
<td style="width: 25%;"></td>
<td style="border-bottom: 4px solid #{{{color1|ccc}}}; padding: 2px;">
<td style="border-bottom: 4px solid #{{{color1|ccc}}}; padding: 5px 2px; vertical-align: bottom;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image1|}}}</div>
  {{{image1|}}}
</td>
</td>
{{#if:{{{party2|{{{leader2|}}}}}}|
{{#if:{{{party2|{{{leader2|}}}}}}|
<td style="border-bottom: 4px solid #{{{color2|ccc}}}; padding: 2px;">
<td style="border-bottom: 4px solid #{{{color2|ccc}}}; padding: 5px 2px; vertical-align: bottom;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image2|}}}</div>
  {{{image2|}}}
</td>
</td>
}}
}}
{{#if:{{{party3|{{{leader3|}}}}}}|
{{#if:{{{party3|{{{leader3|}}}}}}|
<td style="border-bottom: 4px solid #{{{color3|ccc}}}; padding: 2px;">
<td style="border-bottom: 4px solid #{{{color3|ccc}}}; padding: 5px 2px; vertical-align: bottom;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image3|}}}</div>
  {{{image3|}}}
</td>
</td>
}}
}}
Línea 112: Línea 112:
<tr>
<tr>
<td style="width: 25%;"></td>
<td style="width: 25%;"></td>
<td style="border-bottom: 4px solid #{{{color4|ccc}}}; padding: 2px;">
<td style="border-bottom: 4px solid #{{{color4|ccc}}}; padding: 5px 2px; vertical-align: bottom;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image4|}}}</div>
  {{{image4|}}}
</td>
</td>
{{#if:{{{party5|{{{leader5|}}}}}}|
{{#if:{{{party5|{{{leader5|}}}}}}|
<td style="border-bottom: 4px solid #{{{color5|ccc}}}; padding: 2px;">
<td style="border-bottom: 4px solid #{{{color5|ccc}}}; padding: 5px 2px; vertical-align: bottom;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image5|}}}</div>
  {{{image5|}}}
</td>
</td>
}}
}}
{{#if:{{{party6|{{{leader6|}}}}}}|
{{#if:{{{party6|{{{leader6|}}}}}}|
<td style="border-bottom: 4px solid #{{{color6|ccc}}}; padding: 2px;">
<td style="border-bottom: 4px solid #{{{color6|ccc}}}; padding: 5px 2px; vertical-align: bottom;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image6|}}}</div>
  {{{image6|}}}
</td>
</td>
}}
}}
Línea 186: Línea 186:
<tr>
<tr>
<td style="width: 25%;"></td>
<td style="width: 25%;"></td>
<td style="border-bottom: 4px solid #{{{color7|ccc}}}; padding: 2px;">
<td style="border-bottom: 4px solid #{{{color7|ccc}}}; padding: 5px 2px; vertical-align: bottom;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image7|}}}</div>
  {{{image7|}}}
</td>
</td>
{{#if:{{{party8|{{{leader8|}}}}}}|
{{#if:{{{party8|{{{leader8|}}}}}}|
<td style="border-bottom: 4px solid #{{{color8|ccc}}}; padding: 2px;">
<td style="border-bottom: 4px solid #{{{color8|ccc}}}; padding: 5px 2px; vertical-align: bottom;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image8|}}}</div>
  {{{image8|}}}
</td>
</td>
}}
}}
{{#if:{{{party9|{{{leader9|}}}}}}|
{{#if:{{{party9|{{{leader9|}}}}}}|
<td style="border-bottom: 4px solid #{{{color9|ccc}}}; padding: 2px;">
<td style="border-bottom: 4px solid #{{{color9|ccc}}}; padding: 5px 2px; vertical-align: bottom;">
  <div style="width: 90px; height: 90px; overflow: hidden; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff;">{{{image9|}}}</div>
  {{{image9|}}}
</td>
</td>
}}
}}
Línea 232: Línea 232:
<th style="text-align: left;">Última elección</th>
<th style="text-align: left;">Última elección</th>
<td>{{{last_election7|}}}</td>
<td>{{{last_election7|}}}</td>
{{#if:{{{party8|{{{leader8|}}}}}}|<td>{{{last_election8|}}}</td>}}
{{#if:{{{party8|{{{leader8|}}}}}}|<td>{{{last_election7|}}}</td>}}
{{#if:{{{party9|{{{leader9|}}}}}}|<td>{{{last_election9|}}}</td>}}
{{#if:{{{party9|{{{leader9|}}}}}}|<td>{{{last_election9|}}}</td>}}
</tr>
</tr>