Vorlage:Wahldiagramm einfach: Unterschied zwischen den Versionen

Aus HammWiki
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<div style="float: right; border: 1px solid #ccc; padding: 3px; background-color: #fff; width: auto !important; margin-left: 20px; margin-bottom: 20px; overflow: auto; overflow-style: move;">
<div style="float: right; border: 1px solid #ccc; padding: 3px; background-color: #fff; width: auto !important; margin-left: 20px; margin-bottom: 20px; overflow: auto; overflow-style: move;">
<div style="width: 100%; margin: 0.8em;">
{{#if:{{{Titel_Wahl|}}}|<p style="font-size: 100%; font-weight: bold; text-align: center; margin: 1em 0 0 0;">{{{Titel_Wahl}}}</p>}}
{{#if:{{{Titel_Wahl|}}}|<p style="font-size: 100%; font-weight: bold; text-align: center; margin: 1em 0 0 0;">{{{Titel_Wahl}}}</p>}}
{{#if:{{{Untertitel|}}}|<p style="font-size: 100%; font-weight: regular; text-align: center; margin: 0;">{{{Untertitel}}}</p>}}
{{#if:{{{Untertitel|}}}|<p style="font-size: 100%; font-weight: regular; text-align: center; margin: 0;">{{{Untertitel}}}</p>}}
Zeile 21: Zeile 20:
{{#if:{{{Partei_X4|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{Partei_X4_Prozent}}}}} * 2 }}%;">{{#ifexpr: {{DezimalkommaZuPunkt|{{{Partei_X4_Prozent|}}}}}>=4|{{{Partei_X4_Prozent}}} %}}</span></dd><dt>{{{Partei_X4}}}{{#ifexpr: {{DezimalkommaZuPunkt|{{{Partei_X4_Prozent|}}}}}<=4|<br/>{{{Partei_X4_Prozent}}} %}}</dt>}}
{{#if:{{{Partei_X4|}}}|<dd><span style="height:{{#expr: {{DezimalkommaZuPunkt|{{{Partei_X4_Prozent}}}}} * 2 }}%;">{{#ifexpr: {{DezimalkommaZuPunkt|{{{Partei_X4_Prozent|}}}}}>=4|{{{Partei_X4_Prozent}}} %}}</span></dd><dt>{{{Partei_X4}}}{{#ifexpr: {{DezimalkommaZuPunkt|{{{Partei_X4_Prozent|}}}}}<=4|<br/>{{{Partei_X4_Prozent}}} %}}</dt>}}
</dl>
</dl>
</div>
</div>
</div>

Version vom 25. Mai 2022, 18:10 Uhr