Vorlage:Zeitleiste SPD bei Landtagswahlen Schleswig-Holstein

aus Wikipedia, der freien Enzyklopädie

<timeline>

  1. Erst mal die Farben definieren, die ich verwende

Colors=

id:Wahl  value:Red           legend:Wähleranteil_Landtagswahl
id:Si    value:skyblue       legend:Sitze_im_Landtag
id:grau  value:gray(0.8)
id:weiss value:White
  1. Dann als nächstes das Bild

ImageSize = width:700px height:620px # * Größe des Gesamtbildes PlotArea = left:70px right:10px top:30px bottom:50px # * Plotfläche für Timeline durch Ränder definiert Legend = columns:4 left:70px top:30px columnwidth:170px Period = from:0 till:66 # von .. bis ..

TimeAxis = orientation:horizontal # Zeitachse horizontal Alignbars = late ScaleMajor = unit:year increment:10 start:0 # Grobskalierung 10 ScaleMinor = unit:year increment:1 start:0 gridcolor:grau

PlotData = # Daten für die Balken in verschiedenen Farben

shift:(0,-4) fontsize:M  width:15
bar: 1947      from:0.0  till:43.8  color:Wahl  textcolor:weiss text:"43,8 %" align:center
bar: 1947–1950 from:0.0  till:61.4  color:Si     text:"43 Sitze (61,4 %)" align:left
bar: 1950      from:0.0  till:27.5  color:Wahl  textcolor:weiss text:"27,5 %" align:center
bar: 1950–1954 from:0.0  till:27.5 color:Si     text:"19 Sitze (27,5 %)" align:left
bar: 1954      from:0.0  till:33.2  color:Wahl  textcolor:weiss text:"33,2 %"
bar: 1954–1958 from:0.0  till:36.2  color:Si     text:"25 Sitze (36,2 %)"
bar: 1958      from:0.0  till:35.9  color:Wahl  textcolor:weiss text:"35,9 %"
bar: 1958–1962 from:0.0  till:37.7  color:Si     text:"26 Sitze (37,7 %)"
bar: 1962      from:0.0  till:39.2  color:Wahl  textcolor:weiss  text:"39,2 %"
bar: 1962–1967 from:0.0  till:42.0  color:Si     text:"29 Sitze (42,0 %)"
bar: 1967      from:0.0  till:39.4  color:Wahl  textcolor:weiss text:"39,4 %"
bar: 1967–1971 from:0.0  till:41.1  color:Si     text:"30 Sitze (41,1 %)"
bar: 1971      from:0.0  till:41.0  color:Wahl  textcolor:weiss text:"41,0 %"
bar: 1971–1975 from:0.0  till:43.9  color:Si     text:"32 Sitze (43,9 %)"
bar: 1975      from:0.0  till:40.1  color:Wahl  textcolor:weiss text:"40,1 %"
bar: 1975–1979 from:0.0  till:41.1  color:Si     text:"30 Sitze (41,1 %)"
bar: 1979      from:0.0  till:41.7  color:Wahl  textcolor:weiss text:"41,7 %"
bar: 1979–1983 from:0.0  till:42.5  color:Si     text:"31 Sitze (42,5 %)"
bar: 1983      from:0.0  till:43.7  color:Wahl   textcolor:weiss text:"43,7 %"
bar: 1983–1987 from:0.0  till:45.9  color:Si    text:"34 Sitze (45,9 %)"
bar: 1987      from:0.0  till:45.2  color:Wahl  textcolor:weiss text:"45,2 %"
bar: 1987–1988 from:0.0  till:48.6  color:Si    text:"36 Sitze (48,6 %)"
bar: 1988      from:0.0  till:54.8  color:Wahl  textcolor:weiss text:"54,8 %"
bar: 1988–1992 from:0.0  till:62.2  color:Si    text:"46 Sitze (62,2 %)"
bar: 1992      from:0.0  till:46.2  color:Wahl  textcolor:weiss text:"46,2 %"
bar: 1992–1996 from:0.0  till:50.6  color:Si    text:"45 Sitze (50,6 %)"
bar: 1996      from:0.0  till:39.8  color:Wahl  textcolor:weiss text:"39,8 %"
bar: 1996–2000 from:0.0  till:44.0  color:Si    text:"33 Sitze (44,0 %)"
bar: 2000      from:0.0  till:43.1  color:Wahl  textcolor:weiss text:"43,1 %"
bar: 2000–2005 from:0.0  till:46.1  color:Si    text:"41 Sitze (46,1 %)"
bar: 2005      from:0.0  till:38.7  color:Wahl  textcolor:weiss text:"38,7 %"
bar: 2005–2009 from:0.0  till:42.0  color:Si    text:"29 Sitze (42,0 %)"
bar: 2009      from:0.0  till:25.4 color:Wahl  textcolor:weiss text:"25,4 %"
bar: 2009–2012 from:0.0  till:26.3 color:Si    text:"25 Sitze (26,3 %)"
bar: 2012      from:0.0  till:30.4  color:Wahl textcolor:weiss  text:"30,4 %"
bar: 2012–2017 from:0.0  till:31.9  color:Si    text:"22 Sitze (31,9 %)"
bar: 2017      from:0.0  till:27.2  color:Wahl textcolor:weiss  text:"27,2 %"
bar: 2017–2022 from:0.0  till:28.8  color:Si    text:"21 Sitze (28,8 %)"
bar: 2022      from:0.0  till:16.0  color:Wahl textcolor:weiss  text:"16,0 %"
bar: 2022–2027 from:0.0  till:17.4  color:Si    text:"12 Sitze (17,4 %)"

TextData = # Ueberschrift

pos:(5,600) fontsize:M text:Wähleranteil_der_SPD_bei_Landtagswahlen_und_Sitze_im_Landtag

TextData = # Quellenangabe

pos:(5,1) fontsize:M text:"Quelle: Der Landeswahlleiter"

</timeline>



Quelle