Template:Guruship Timeline

From SikhiWiki
Jump to navigationJump to search

Sikh Gurus Timeline 1469 to 1708

<timeline> ImageSize = width:300 height:550 PlotArea = width:70 height:530 left:75 bottom:10

DateFormat = yyyy Period = from:1460 till:1710 TimeAxis = orientation:vertical ScaleMajor = unit:year increment:10 start:1460

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

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

 bar:Leaders color:red width:35 mark:(line,white) align:left fontsize:l
 from:1469  till:1539  shift:($dx,0)   text:Guru Nanak Dev
 from:1539  till:1552  shift:($dx,-5)    text:Guru Angad Dev
 from:1552  till:1574  shift:($dx,-5)    text:Guru Amar Das
 from:1574  till:1581  shift:($dx,-10)    text:Guru Ram Das
 from:1581  till:1606  shift:($dx,-10)    text:Guru Arjan Dev
 from:1606  till:1644  shift:($dx,-10)    text:Guru Har Gobind 
 from:1644  till:1661  shift:($dx,-10)   text:Guru Har Rai
 from:1661  till:1665  shift:($dx,-8)   text:Guru Har Krisha
 from:1665  till:1675  shift:($dx,-5)   text:Guru Tegh Badadur
 from:1675  till:1708  shift:($dx,5)   text:Guru Gobind Singh
 from:1675  till:1708  shift:($dx,5)   text:Guru Gobind Singh2