Vorlage:Wahldiagramm einfach: Unterschied zwischen den Versionen

Aus HammWiki
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 6: Zeile 6:
{{#if:{{{SPD|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{SPD}}}}} * 2 }}%; background:#E3000F !important;">{{{SPD}}} %</span></dd><dt>[[SPD]]</dt>}}
{{#if:{{{SPD|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{SPD}}}}} * 2 }}%; background:#E3000F !important;">{{{SPD}}} %</span></dd><dt>[[SPD]]</dt>}}
{{#if:{{{CDU|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{CDU}}}}} * 2 }}%; background:#000 !important;">{{{CDU|}}} %</span></dd><dt>[[CDU]]</dt>}}
{{#if:{{{CDU|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{CDU}}}}} * 2 }}%; background:#000 !important;">{{{CDU|}}} %</span></dd><dt>[[CDU]]</dt>}}
{{#if:{{{FDP|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{FDP}}}}} * 2 }}%; background:#FCED4F !important; color: #000; text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;">{{{FDP}}} %</span></dd><dt>[[FDP]]</dt>}}
{{#if:{{{FDP|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{FDP}}}}} * 2 }}%; background:#FCED4F !important; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">{{{FDP}}} %</span></dd><dt>[[FDP]]</dt>}}
{{#if:{{{Grüne|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{Grüne}}}}} * 2 }}%; background:#578F46 !important;">{{{Grüne}}} %</span></dd><dt>[[Bündnis 90/Die Grünen|Grüne]]</dt>}}
{{#if:{{{Grüne|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{Grüne}}}}} * 2 }}%; background:#578F46 !important;">{{{Grüne}}} %</span></dd><dt>[[Bündnis 90/Die Grünen|Grüne]]</dt>}}
{{#if:{{{Pro-Hamm|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{Pro-Hamm}}}}}* 2 }}%; background:#7996F4 !important;">{{{Pro-Hamm}}} %</span></dd><dt>[[Pro Hamm]]</dt>}}
{{#if:{{{Pro-Hamm|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{Pro-Hamm}}}}}* 2 }}%; background:#7996F4 !important;">{{{Pro-Hamm}}} %</span></dd><dt>[[Pro Hamm]]</dt>}}

Version vom 25. Mai 2022, 16:58 Uhr