Vorlage:Wahldiagramm einfach: Unterschied zwischen den Versionen

Aus HammWiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<div class="wahldiagramm" {{#if:{{{float|}}}|style="float: right; margin-left: 20px;"}}>
<div class="wahldiagramm" {{#if:{{{float|}}}|style="float: right; margin-left: 20px;"}}>
{{#if:{{{Titel_Wahl|}}}|<p style="font-size: 100%; font-weight: bold; text-align: center; margin: 0.8em 0 0 0;">{{{Titel_Wahl}}}</p>}}
{{#if:{{{Titel_Wahl|}}}|<p style="font-size: 100%; font-weight: bold; text-align: center; margin: 0.8em 0 0 0;">{{{Titel_Wahl}}}</p>}}
{{#if:{{{Untertitel|}}}|<p style="font-size: 100%; font-weight: regular; text-align: center; margin: 0; color: #7e;">{{{Untertitel}}}</p>}}
{{#if:{{{Untertitel|}}}|<p style="font-size: 100%; font-weight: regular; text-align: center; margin: 0; color: #3f3f3f;">{{{Untertitel}}}</p>}}
<dl class="vertical">
<dl class="vertical">
{{#if:{{{SPD|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{SPD}}}}} * 2 }}%; background: #E3000F !important;">{{#ifexpr: {{DezimalkommaZuPunkt|{{{SPD|}}}}}>=4|{{{SPD}}} %}}</span></dd><dt>[[SPD]]{{#ifexpr: {{DezimalkommaZuPunkt|{{{SPD|}}}}}<=4|<br/>{{{SPD}}} %}}</dt>}}
{{#if:{{{SPD|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{SPD}}}}} * 2 }}%; background: #E3000F !important;">{{#ifexpr: {{DezimalkommaZuPunkt|{{{SPD|}}}}}>=4|{{{SPD}}} %}}</span></dd><dt>[[SPD]]{{#ifexpr: {{DezimalkommaZuPunkt|{{{SPD|}}}}}<=4|<br/>{{{SPD}}} %}}</dt>}}

Version vom 25. Mai 2022, 21:00 Uhr