Bản mẫu:Niên đại nhà Lý

<timeline> ImageSize = width:250 height:700 PlotArea = width:200 height:680 left:40 bottom:10

DateFormat = yyyy Period = from:1009 till:1225 TimeAxis = orientation:vertical order:reverse ScaleMajor = unit:year increment:5 start:1009

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

Define $dx = 20 Define $dxs = 30 Define $dxss = 40 PlotData=

 bar:Leaders width:20 mark:(line,white) align:left fontsize:S
 color:orange   from:1009 till:1028 shift:($dx,0)    text:Thái Tổ
 color:yellow   from:1028 till:1054 shift:($dx,0)    text:Thái Tông   
 color:orange   from:1054 till:1072 shift:($dx,0)    text:Thánh Tông 
 color:yellow   from:1072 till:1127 shift:($dx,0)    text:Nhân Tông
 color:orange   from:1128 till:1138 shift:($dx,0)    text:Thần Tông
 color:yellow   from:1138 till:1175 shift:($dx,0)    text:Anh Tông
 color:orange   from:1175 till:1210 shift:($dx,0)    text:Cao Tông
 color:yellow   from:1211 till:1224 shift:($dx,0)    text:Huệ Tông
 color:purple   from:1224 till:end  shift:($dx,-5)   text:Chiêu Hoàng

</timeline>