Test: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
{{Pie chart | |||
| caption= Kreisdiagramm-Test | |||
| label1 = Christlicher Antifeminismus | |||
| value1 = 59 | |||
| color1 = darkgreen | |||
| label2 = Familistischer Adel | |||
| value2 = 26.8 | |||
| color2 = brown | |||
| label3 = Maskulismus | |||
| value3 = 2.5 | |||
| color3 = #08f | |||
| label4 = Sonstige Netzwerke | |||
| value4 = 3 | |||
| color4 = silver | |||
| other = no | |||
| other-color = silver | |||
}} | |||
{{Pie chart | {{Pie chart | ||
| caption= Kreisdiagramm-Test | | caption= Kreisdiagramm-Test | ||
Zeile 78: | Zeile 97: | ||
| caption= Kreisdiagramm-Test | | caption= Kreisdiagramm-Test | ||
| label1 = AfD | | label1 = AfD | ||
| value1 = | | value1 = 9.76 | ||
| color1 = blue | | color1 = blue | ||
| label2 = CDU | | label2 = CDU | ||
| value2 = | | value2 = 7.31 | ||
| color2 = orange | | color2 = orange | ||
| label3 = Christl. Antifeminismus | | label3 = Christl. Antifeminismus | ||
| value3 = | | value3 = 31.70 | ||
| color3 = violet | | color3 = violet | ||
| label4 = Familistischer Adel | | label4 = Familistischer Adel | ||
| value4 = | | value4 = 24.39 | ||
| color4 = green | | color4 = green | ||
| label5 = Maskulismus | | label5 = Maskulismus | ||
| value5 = | | value5 = 7.31 | ||
| color5 = red | | color5 = red | ||
| label6 = Proprietarismus | | label6 = Proprietarismus | ||
Zeile 96: | Zeile 115: | ||
| color6 = yellow | | color6 = yellow | ||
| label7 = Völk. Nationalismus | | label7 = Völk. Nationalismus | ||
| value7 = | | value7 = 12.20 | ||
| color7 = brown | | color7 = brown | ||
| label8 = sonst. Netzwerke | | label8 = sonst. Netzwerke | ||
| value8 = | | value8 = 7.31 | ||
| color8 = silver | | color8 = silver | ||
| other = no | | other = no | ||
| other-color = black | | other-color = white | ||
}} | |||
<b>Netzwerke / Gruppierungen</b> | |||
* <span style="background:{{{color1|{{gcolor|1}}}}}"> __ </span> AfD: {{{value1}}} ({{#expr:{{{value1}}}/{{Gesamt}}*100round2}} %) | |||
* <span style="background:{{{color2|{{gcolor|2}}}}}"> __ </span> CDU: {{{value2}}} ({{#expr:{{{value2}}}/41*100round2}} %) | |||
* <span style="background:{{{color3|{{gcolor|3}}}}}"> __ </span> Christl. Antifeminismus: {{{value3}}} ({{#expr:{{{value3}}}/41*100round2}} %) | |||
* <span style="background:{{{color4|{{gcolor|4}}}}}"> __ </span> Familistischer Adel: {{{value4}}} ({{#expr:{{{value4}}}/41*100round2}} %) | |||
* <span style="background:{{{color5|{{gcolor|5}}}}}"> __ </span> Maskulismus: {{{value5}}} ({{#expr:{{{value5}}}/41*100round2}} %) | |||
* <span style="background:{{{color6|{{gcolor|6}}}}}"> __ </span> Proprietarismus: {{{value6}}} ({{#expr:{{{value6}}}/41*100round2}} %) | |||
* <span style="background:{{{color7|{{gcolor|7}}}}}"> __ </span> Völk. Nationalismus: {{{value7}}} ({{#expr:{{{value7}}}/41*100round2}} %) | |||
* <span style="background:{{{color8|{{gcolor|8}}}}}"> __ </span> Sonst. Netzwerke: {{{value8}}} ({{#expr:{{{value8}}}/41*100round2}} %) | |||
<br/></includeonly> | |||
<!-- Graph --> | |||
<div class="mw-no-invert" style="background-color:{{{other-color|silver}}};margin:auto;position:relative;width:{{#expr:2*{{{radius|100}}}}}px;height:{{#expr:2*{{{radius|100}}}}}px;overflow:hidden;border-radius:{{{radius|100}}}px;border:1px solid black"> | |||
{{#if:{{{value9|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color9|{{gcolor|9}}}}}|{{#expr: | |||
{{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}+{{{value7}}}+{{{value8}}}+{{{value9}}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{value8|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color8|{{gcolor|8}}}}}|{{#expr: | |||
{{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}+{{{value7}}}+{{{{{#expr:value8/{{Gesamt}}*100}}}}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{value7|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color7|{{gcolor|7}}}}}|{{#expr: | |||
{{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}+{{{value7}}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{#expr:value6|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color6|{{gcolor|6}}}}}|{{#expr: | |||
{{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{value5|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color5|{{gcolor|5}}}}}|{{#expr: | |||
{{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{value4|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color4|{{gcolor|4}}}}}|{{#expr: | |||
{{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{value3|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color3|{{gcolor|3}}}}}|{{#expr: | |||
{{{value1}}}+{{{value2}}}+{{{value3}}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{value2|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color2|{{gcolor|2}}}}}|{{#expr: | |||
{{{value1}}}+{{{value2}}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{value1|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color1|{{gcolor|1}}}}}| | |||
{{{value1}}} | |||
}}}} | |||
<includeonly>{{#ifeq:{{{thumb|}}}|center|<div class="center">}}<div class="PieChartTemplate thumb t{{#switch:{{{thumb|}}}|center|none=none|left=left|#default=left}}" {{#if:{{{style|}}}|style="{{{style|}}}"}}><div class="thumbinner" style="width:{{#expr:2*{{{radius|100}}}+2}}px"> | |||
<!-- Graph --> | |||
<div class="mw-no-invert" style="background-color:{{{other-color|silver}}};margin:auto;position:relative;width:{{#expr:2*{{{radius|100}}}}}px;height:{{#expr:2*{{{radius|100}}}}}px;overflow:hidden;border-radius:{{{radius|100}}}px;border:1px solid black"> | |||
{{#if:{{{value9|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color9|{{gcolor|9}}}}}|{{#expr: | |||
{{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}}+{{#var:value5}}+{{#var:value6}}+{{#var:value7}}+{{#var:value8}}+{{#var:value9}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{val8|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color8|{{gcolor|8}}}}}|{{#expr: | |||
{{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}}+{{#var:value5}}+{{#var:value6}}+{{#var:value7}}+{{#var:value8}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{val7|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color7|{{gcolor|7}}}}}|{{#expr: | |||
{{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}}+{{#var:value5}}+{{#var:value6}}+{{#var:value7}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{val6|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color6|{{gcolor|6}}}}}|{{#expr: | |||
{{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}}+{{#var:value5}}+{{#var:value6}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{val5|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color5|{{gcolor|5}}}}}|{{#expr: | |||
{{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}}+{{#var:value5}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{val4|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color4|{{gcolor|4}}}}}|{{#expr: | |||
{{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{val3|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color3|{{gcolor|3}}}}}|{{#expr: | |||
{{#var:value1}}+{{#var:value2}}+{{#var:value3}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{val2|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color2|{{gcolor|2}}}}}|{{#expr: | |||
{{#var:value1}}+{{#var:value2}} | |||
}}}}}}<!-- | |||
-->{{#if:{{{val1|}}}|{{Pie chart/slice|radius={{{radius|100}}}|{{{color1|{{gcolor|1}}}}}| | |||
{{#var:value1}} | |||
}}}} | |||
</div> | |||
</div></div>{{#ifeq:{{{thumb|}}}|center|</div>}} | |||
<b>Netzwerke / Gruppierungen</b> | |||
* <span style="background:{{{color1|{{gcolor|1}}}}}"> __ </span> AfD: {{#var:value1}}% | |||
* <span style="background:{{{color2|{{gcolor|2}}}}}"> __ </span> CDU: {{#var:value2}}% | |||
* <span style="background:{{{color3|{{gcolor|3}}}}}"> __ </span> Christl. Antifeminismus: {{#var:value3}}% | |||
* <span style="background:{{{color4|{{gcolor|4}}}}}"> __ </span> Familistischer Adel: {{#var:value4}}% | |||
* <span style="background:{{{color5|{{gcolor|5}}}}}"> __ </span> Maskulismus: {{#var:value5}}% | |||
* <span style="background:{{{color6|{{gcolor|6}}}}}"> __ </span> Proprietarismus: {{#var:value6}}% | |||
* <span style="background:{{{color7|{{gcolor|7}}}}}"> __ </span> Völk. Nationalismus: {{#var:value7}}% | |||
* <span style="background:{{{color8|{{gcolor|8}}}}}"> __ </span> Sonst. Netzwerke: {{#var:value8}}% | |||
<br/></includeonly> | |||
{{Pie chart | |||
| caption= Kreisdiagramm-Test | |||
| label1 = AfD | |||
| val1 = 4 | |||
| color1 = blue | |||
| label2 = CDU | |||
| val2 = 3 | |||
| color2 = orange | |||
| label3 = Christl. Antifeminismus | |||
| val3 = 13 | |||
| color3 = violet | |||
| label4 = Familistischer Adel | |||
| val4 = 10 | |||
| color4 = green | |||
| label5 = Maskulismus | |||
| val5 = 3 | |||
| color5 = red | |||
| label6 = Proprietarismus | |||
| val6 = 0 | |||
| color6 = yellow | |||
| label7 = Völk. Nationalismus | |||
| val7 = 5 | |||
| color7 = brown | |||
| label8 = sonst. Netzwerke | |||
| val8 = 3 | |||
| color8 = silver | |||
}} | }} | ||
<includeonly> | |||
{{#if:{{{val1|}}}|{{{val2|}}}|{{{val3|}}}|{{{val4|}}}|{{{val5|}}}|{{{val6|}}}|{{{val7|}}}|{{{val8|}}}|{{{val9|}}}}} | |||
{{#vardefine:gesamt|{{#expr:{{{val1}}}+{{{val2}}}+{{{val3}}}+{{{val4}}}+{{{val5}}}+{{{val6}}}+{{{val7}}}+{{{val8}}}+{{{val9}}}}}}} | |||
{{#vardefine:value1|{{#expr:{{{val1}}}/{{#var:gesamt}}*100round2}}}} | |||
{{#vardefine:value2|{{#expr:{{{val2}}}/{{#var:gesamt}}*100round2}}}} | |||
{{#vardefine:value3|{{#expr:{{{val3}}}/{{#var:gesamt}}*100round2}}}} | |||
{{#vardefine:value4|{{#expr:{{{val4}}}/{{#var:gesamt}}*100round2}}}} | |||
{{#vardefine:value5|{{#expr:{{{val5}}}/{{#var:gesamt}}*100round2}}}} | |||
{{#vardefine:value6|{{#expr:{{{val6}}}/{{#var:gesamt}}*100round2}}}} | |||
{{#vardefine:value7|{{#expr:{{{val7}}}/{{#var:gesamt}}*100round2}}}} | |||
{{#vardefine:value8|{{#expr:{{{val8}}}/{{#var:gesamt}}*100round2}}}} | |||
{{#vardefine:value9|{{#expr:{{{val9}}}/{{#var:gesamt}}*100round2}}}} | |||
<b>Netzwerke / Gruppierungen</b> | |||
* <span style="background:{{{color1|{{gcolor|1}}}}}"> __ </span> AfD: {{#var:value1}}% | |||
* <span style="background:{{{color2|{{gcolor|2}}}}}"> __ </span> CDU: {{#var:value2}}% | |||
* <span style="background:{{{color3|{{gcolor|3}}}}}"> __ </span> Christl. Antifeminismus: {{#var:value3}}% | |||
* <span style="background:{{{color4|{{gcolor|4}}}}}"> __ </span> Familistischer Adel: {{#var:value4}}% | |||
* <span style="background:{{{color5|{{gcolor|5}}}}}"> __ </span> Maskulismus: {{#var:value5}}% | |||
* <span style="background:{{{color6|{{gcolor|6}}}}}"> __ </span> Proprietarismus: {{#var:value6}}% | |||
* <span style="background:{{{color7|{{gcolor|7}}}}}"> __ </span> Völk. Nationalismus: {{#var:value7}}% | |||
* <span style="background:{{{color8|{{gcolor|8}}}}}"> __ </span> Sonst. Netzwerke: {{#var:value8}}% | |||
<br/></includeonly> |
Aktuelle Version vom 29. Juli 2022, 10:16 Uhr
Syntax-Fehler
Netzwerke / Gruppierungen
- __ AfD: {{{value1}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ %)
- __ CDU: {{{value2}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ %)
- __ Christl. Antifeminismus: {{{value3}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ %)
- __ Familistischer Adel: {{{value4}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ %)
- __ Maskulismus: {{{value5}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ %)
- __ Proprietarismus: {{{value6}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ %)
- __ Völk. Nationalismus: {{{value7}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ %)
- __ Sonst. Netzwerke: {{{value8}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ %)
</includeonly>