Vorlage:Zeitleiste Radsport-Weltrangliste

aus Wikipedia, der freien Enzyklopädie

Weltranglistenerste seit 2016 <timeline> ImageSize = width:220 height:750 PlotArea = width:180 height:710 left:40 bottom:10

DateFormat = dd/mm/yyyy Period = from:01/01/2016 till:30/04/2022 TimeAxis = orientation:vertical ScaleMajor = unit:year increment:1 start:01/01/2016 ScaleMinor = unit:month increment:1 start:01/01/2016

  1. there is no automatic collision detection,
  2. so shift texts up or down manually to avoid overlap

Define $dx = 20 # shift text to right side of bar PlotData=

 bar:Leaders color:redorange width:25 mark:(line,white) align:left fontsize:S
 from:11/01/2016 till:24/01/2016 shift:($dx,-3)  text:Jason Christie
 from:25/01/2016 till:13/03/2016 shift:($dx,-4)  text:Simon Gerrans
 from:14/03/2016 till:20/03/2016 shift:($dx,-7)  text:Richie Porte
 from:21/03/2016 till:27/03/2016 shift:($dx,-1)  text:Greg Van Avermaet
 from:28/03/2016 till:09/04/2017 shift:($dx,0)   text:Peter Sagan
 from:10/04/2017 till:03/03/2018 shift:($dx,-2)  text:Greg Van Avermaet
 from:04/03/2018 till:14/04/2018 shift:($dx,-3)  text:Chris Froome
 from:15/04/2018 till:26/05/2018 shift:($dx,-2)  text:Peter Sagan
 from:27/05/2018 till:21/07/2018 shift:($dx,-2)  text:Chris Froome
 from:22/07/2018 till:22/09/2018 shift:($dx,-3)  text:Peter Sagan
 from:23/09/2018 till:23/03/2019 shift:($dx,-3)  text:Alejandro Valverde
 from:24/03/2019 till:14/09/2019 shift:($dx,-3)  text:Julian Alaphilippe
 from:15/09/2019 till:17/03/2020 shift:($dx,-3)  text:Primož Roglič
 color:tan1
 from:18/03/2020 till:10/08/2020 shift:($dx,-3)  text:(Primož Roglič)
 color:redorange
 from:11/08/2020 till:26/10/2020 shift:($dx,-3)  text:Primož Roglič
 from:27/10/2020 till:09/11/2020 shift:($dx,-3)  text:Tadej Pogačar
 from:10/11/2020 till:19/07/2021 shift:($dx,-3)  text:Primož Roglič
 from:20/07/2021 till:13/09/2021 shift:($dx,-3)  text:Tadej Pogačar
 from:14/09/2021 till:27/09/2021 shift:($dx,-3)  text:Wout van Aert
 from:28/09/2021 till:end        shift:($dx,-3)  text:Tadej Pogačar

</timeline>