Vorlage:Wahldiagramm/Achse: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
AleXXw (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „{{raw:wp-de:Wahldiagramm/Achse}}“) |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{ | {{Dokumentation/Unterseite}} | ||
<onlyinclude><includeonly><div style="position:relative; background:transparent; width:100%; margin:2px 1px 0px 0px;"> | |||
<div style="position:relative; left:0px; top:0px; background:transparent;"><div style="z-index:12; position:relative; background:transparent; height:{{#if: {{{2|}}}|{{#ifexpr: (({{{1|0}}}*10) mod 100)>40|{{#expr: ((({{{1|0}}}*10) mod 100))*0.2}}|9}}|{{#ifexpr: (({{{1|0}}}*10) mod 100)>30|{{#expr: ((({{{1|0}}}*10) mod 100))*0.3}}|9}}}}px; border-top:none;"><div style="position:absolute; top:-10px; margin:0; background:transparent; font-size:80%; padding:0 3px 0 0; color:#777;"> %</div></div><!-- | |||
-->{{#ifexpr: {{{1|0}}}>90|<div style="z-index:11; position:relative; background:transparent; height:29px; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;"><small>100</small></div></div>}}<!-- | |||
-->{{#ifexpr: {{{1|0}}}>80|<div style="z-index:10; position:relative; background:transparent; height:29px; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;">90</div></div>}}<!-- | |||
-->{{#ifexpr: {{{1|0}}}>70|<div style="z-index:9; position:relative; background:transparent; height:29px; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;">80</div></div>}}<!-- | |||
-->{{#ifexpr: {{{1|0}}}>60|<div style="z-index:8; position:relative; background:transparent; height:29px; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;">70</div></div>}}<!-- | |||
-->{{#ifexpr: {{{1|0}}}>50|<div style="z-index:7; position:relative; background:transparent; height:29px; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;">60</div></div>}}<!-- | |||
-->{{#ifexpr: {{{1|0}}}>40|<div style="z-index:6; position:relative; background:transparent; height:29px; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;">50</div></div>}}<!-- | |||
-->{{#ifexpr: {{{1|0}}}>30|<div style="z-index:5; position:relative; background:transparent; height:29px; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;">40</div></div>}}<!-- | |||
-->{{#ifexpr: {{{1|0}}}>20|<div style="z-index:4; position:relative; background:transparent; height:29px; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;">30</div></div>}}<!-- | |||
-->{{#ifexpr: {{{1|0}}}>10|<div style="z-index:3; position:relative; background:transparent; height:29px; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;">20</div></div>}}<!-- | |||
--><div style="z-index:1; position:relative; background:transparent; height:29px; border-bottom:1px solid #777; border-top:1px solid #CCC;"><div style="position:absolute; bottom:19px; background:white; font-size:80%; padding:0 2px 0 0; color:#777;">10</div><div style="position:absolute; bottom:-10px; background:white; font-size:80%; padding:0 1px 0 6px; color:#777;">0</div></div></div></div></includeonly></onlyinclude> |