Шаблон:Временная линия Android

Материал из Викизнайки
Перейти к навигации Перейти к поиску
<timeline>

Define $width = 1050 Define $now = 05/07/2024 Define $height = 264

ImageSize = width:$width height:$height PlotArea = right:10 left:45 bottom:130 top:85 DateFormat = dd/mm/yyyy Period = from:21/09/2008 till:12/07/2024 TimeAxis = orientation:horizontal Legend = orientation:vertical position:bottom columns:3

Colors =

    id:bg          value:rgb( 1, 1, 1 )
    id:lightline   value:gray( 0.9 )
    id:lighttext   value:gray( 0.5 )
    id:old         value:gray( 0.7 )                Legend:Устаревшая
    id:actual      value:rgb( 0.933, 0.863, 0.510 ) Legend:Актуальная
    id:last        value:rgb( 0.643, 0.776, 0.253 ) Legend:Последняя
    id:today       value:red                        Legend:Текущая_дата

BackgroundColors = canvas:bg ScaleMinor = gridcolor:lightline unit:month increment:1 start:01/10/2008 ScaleMajor = gridcolor:lighttext unit:year increment:1 start:01/01/2009

Define $dx = -9 # shift text to right side of bar Define $dy = -5 # shift text to top side of bar

LineData=

  at:$now color:today width:0.1

PlotData=

 bar:Mobile width:24 mark:(line,white) fontsize:M align:left shift:($dx,-15)
   color:old         from:23/09/2008 till:09/02/2009 text:"1.0" shift:($dx,$dy)
   color:old         from:09/02/2009 till:30/04/2009 text:"1.1" shift:($dx,$dy)
   color:old         from:30/04/2009 till:15/09/2009 text:"1.5" shift:($dx,$dy)
   color:old         from:15/09/2009 till:26/10/2009 text:"1.6" shift:($dx,-12)
   color:old         from:26/10/2009 till:01/01/2010 text:"2.0" shift:($dx,+6)
   color:old         from:01/01/2010 till:20/05/2010 text:"2.1" shift:($dx,$dy)
   color:old         from:20/05/2010 till:06/12/2010 text:"2.2" shift:($dx,$dy)
   color:old         from:06/12/2010 till:19/10/2011 text:"2.3" shift:($dx,$dy)
   color:old         from:19/10/2011 till:27/06/2012 text:"4.0"
   color:old         from:27/06/2012 till:29/10/2012 text:"4.1"
   color:old         from:29/10/2012 till:24/07/2013 text:"4.2"
   color:old         from:24/07/2013 till:01/11/2013 text:"4.3"
   color:old         from:01/11/2013 till:12/11/2014 text:"4.4"
   color:old         from:12/11/2014 till:09/03/2015 text:"5.0"
   color:old         from:09/03/2015 till:29/09/2015 text:"5.1"
   color:old         from:29/09/2015 till:21/08/2016 text:"6.0"
   color:old         from:22/08/2016 till:05/12/2016 text:"7.0"
   color:old         from:05/12/2016 till:21/08/2017 text:"7.1"
   color:old         from:21/08/2017 till:07/12/2017 text:"8.0"
   color:old         from:07/12/2017 till:06/08/2018 text:"8.1"
   color:actual      from:06/08/2018 till:03/09/2019 text:"9"
   color:actual      from:03/09/2019 till:08/09/2020 text:"10"
   color:actual      from:08/09/2020 till:04/10/2021 text:"11"
   color:last        from:04/10/2021 till:end        text:"12"
 bar:Tablet width:23 mark:(line,white) fontsize:M align:left shift:($dx, $dy)
   color:old         from:01/02/2011 till:01/06/2011 text:"3.0" width:21
   color:old         from:01/06/2011 till:18/07/2011 text:"3.1" width:21
   color:old         from:18/07/2011 till:19/10/2011 text:"3.2" width:21
   color:old         from:19/10/2011 till:27/06/2012
   color:old         from:27/06/2012 till:29/10/2012
   color:old         from:29/10/2012 till:24/07/2013
   color:old         from:24/07/2013 till:01/11/2013
   color:old         from:01/11/2013 till:12/11/2014
   color:old         from:12/11/2014 till:09/03/2015
   color:old         from:09/03/2015 till:29/09/2015
   color:old         from:29/09/2015 till:21/08/2016
   color:old         from:22/08/2016 till:21/08/2017
   color:old         from:21/08/2017 till:07/12/2017
   color:old         from:07/12/2017 till:06/08/2018
   color:actual      from:06/08/2018 till:03/09/2019
   color:actual      from:03/09/2019 till:08/09/2020
   color:actual      from:08/09/2020 till:04/10/2021
   color:last        from:04/10/2021 till:end

TextData =

  pos:(320,$height)
  fontsize:XL
  textcolor:black
  text:"Обновления версий Android"
</timeline>