Vorlage:Zeitleiste Gemeinderat von San Fernando de Henares
<timeline>
- Erst mal die Farben definieren, die ich verwende
Colors=
id:IU value:lightpurple legend:IU id:PP value:skyblue legend:PP id:PSOE value:red legend:PSOE id:and value:redorange legend:andere id:grau value:gray(0.8)
- Dann als nächstes das Bild
ImageSize = width:400 height:220 # * Größe des Gesamtbildes PlotArea = left:50 right:10 top:30 bottom:50 # * Plotfläche für Timeline durch Ränder definiert Legend = columns:4 left:50 top:30 columnwidth:60 Period = from:0 till:21 # 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: 1987 from:0.0 till:9.0 color:IU text:"9" bar: 1987 from:9.0 till:11.0 color:PP text:"2" bar: 1987 from:11.0 till:16.0 color:PSOE text:"5" bar: 1987 from:16.0 till:21.0 color:and text:"5" bar: 1991 from:0.0 till:7.0 color:IU text:"7" bar: 1991 from:7.0 till:10.0 color:PP text:"3" bar: 1991 from:10.0 till:19.0 color:PSOE text:"9" bar: 1991 from:19.0 till:21.0 color:and text:"2" bar: 1995 from:0.0 till:10.0 color:IU text:"10" bar: 1995 from:10.0 till:16.0 color:PP text:"6" bar: 1995 from:16.0 till:21.0 color:PSOE text:"5" bar: 1999 from:0.0 till:14.0 color:IU text:"14" bar: 1999 from:14.0 till:17.0 color:PP text:"3" bar: 1999 from:17.0 till:21.0 color:PSOE text:"4" bar: 2003 from:0.0 till:11.0 color:IU text:"11" bar: 2003 from:11.0 till:16.0 color:PP text:"5" bar: 2003 from:16.0 till:21.0 color:PSOE text:"5" bar: 2007 from:0.0 till:8.0 color:IU text:"8" bar: 2007 from:8.0 till:16.0 color:PP text:"8" bar: 2007 from:16.0 till:21.0 color:PSOE text:"5"
TextData = # Ueberschrift
pos:(5,200) fontsize:M text:Sitzverteilung_im_Gemeinderat_von_San_Fernado_de_Henares
TextData = # Quellenangabe
pos:(5,0) fontsize:M text:"Quelle: INE, Madrid"
</timeline>