Predefinição:Tempo de vida do primeiro ministro da Índia
<timeline> Define $width = 1000 Define $warning = 845 # $width - 155 Define $height = 450 # 13x20 + 160
Define $start = 1880 Define $end = 2030 Define $now = 2025
ImageSize = width:$width height:$height PlotArea = right:10 left:1 bottom:80 top:60 Period = from:$start till:$end TimeAxis = orientation:horizontal Legend = orientation:vertical position:bottom columns:1
Colors =
id:bg value:white id:lightline value:rgb(0.9, 0.9, 0.9) id:lighttext value:rgb(0.5, 0.5, 0.5) id:BEFOREPOTUS value:rgb(0.8, 0.8, 0.8) Legend: Vida_antes_de_primeiro-ministro id:POTUS value:rgb(0.31, 0.39, 0.81) Legend: No_Cargo id:AFTERPOTUS value:rgb(0.81, 0.73, 0.31) Legend: Vida_depois_de_primeiro-ministro id:GERMAN value:rgb(0.81, 0.1, 0.2) id:NAME value:rgb(0.15, 0.13, 0.05) id:TODAY value:green
BackgroundColors = canvas:bg ScaleMinor = gridcolor:lightline unit:year increment:1 start:$start ScaleMajor = gridcolor:lighttext unit:year increment:10 start:1880
Define $dy = -5 # shift text to button side of bar
LineData=
at:$now color:TODAY width:0.1
PlotData=
bar:1 width:18 color:BEFOREPOTUS align:center fontsize:M from:1889 till:1947 shift:(-90,$dy) textcolor:NAME align:left text:Jawaharlal Nehru color:POTUS from:1947 till:1964.5
bar:2 width:18 color:BEFOREPOTUS align:left fontsize:M from:1898 till:1964.5 shift:(-95,$dy) textcolor:NAME align:left text:Gulzarilal Nanda color:POTUS from:1964.5 till:1964.6 color:AFTERPOTUS from:1964.7 till:1966.1 color:POTUS from:1966.1 till:1966.2 color:AFTERPOTUS from:1966.2 till:1998 bar:3 width:18 color:BEFOREPOTUS align:left fontsize:M from:1904 till:1964.7 shift:(-90,$dy) textcolor:NAME text:Lal Bahadur Sashtri color:POTUS from:1964.7 till:1966.1 bar:4 width:18 color:BEFOREPOTUS align:left fontsize:M from:1917 till:1966 shift:(-90,$dy) textcolor:NAME text: Indira Gandhi color:POTUS from:1966 till:1977 color:AFTERPOTUS from:1977 till:1980 color:POTUS from:1980 till:1984
bar:5 width:18 color:BEFOREPOTUS align:left fontsize:M from:1896 till:1977 shift:(-90,$dy) textcolor:NAME text:Morarji Desai color:POTUS from:1977 till:1979 color:AFTERPOTUS from:1979 till:1995 bar:6 width:18 color:BEFOREPOTUS align:left fontsize:M from:1902 till:1979 shift:(-85,$dy) textcolor:NAME text:Charan Singh color:POTUS from:1979 till:1980 color:AFTERPOTUS from:1980 till:1987 bar:7 width:18 color:BEFOREPOTUS align:left fontsize:M from:1944 till:1984 shift:(-93,$dy) textcolor:NAME text:Rajiv Gandhi color:POTUS from:1984 till:1989 color:AFTERPOTUS from:1989 till:1991 bar:8 width:18 color:BEFOREPOTUS align:left fontsize:M from:1931 till:1989 shift:(-85,$dy) textcolor:NAME text:Vishwanath Pratap Singh color:POTUS from:1989 till:1990 color:AFTERPOTUS from:1990 till:2008
bar:9 width:18 color:BEFOREPOTUS align:left fontsize:M from:1927 till:1990 shift:(-97,$dy) textcolor:NAME text:Chandra Shekhar color:POTUS from:1990 till:1991 color:AFTERPOTUS from:1991 till:2007 bar:10 width:18 color:BEFOREPOTUS align:center fontsize:M from:1921 till:1991 shift:(-10,$dy) textcolor:NAME text:P. V. Narasimha Rao color:POTUS from:1991 till:1996 color:AFTERPOTUS from:1996 till:2004
bar:11 width:18 color:BEFOREPOTUS align:left fontsize:M from:1924 till:1996.5 shift:(-75,$dy) textcolor:NAME text:Atal Bihari Vajpayee color:POTUS from:1996.5 till:1996.6 color:AFTERPOTUS from:1996.7 till:1998 color:POTUS from:1998 till:2004 color:AFTERPOTUS from:2004 till:2018
bar:12 width:18 color:BEFOREPOTUS align:center fontsize:M from:1933 till:1996.6 shift:(-20,$dy) textcolor:NAME text:H. D. Deve Gowda color:POTUS from:1996.6 till:1997 color:AFTERPOTUS from:1997 till:$now
bar:13 width:18 color:BEFOREPOTUS align:center fontsize:M from:1919 till:1997 shift:(-20,$dy) textcolor:NAME text:Inder Kumar Gujral color:POTUS from:1997 till:1998 color:AFTERPOTUS from:1998 till:2012
bar:14 width:18 color:BEFOREPOTUS align:center fontsize:M from:1932 till:2004 shift:(-20,$dy) textcolor:NAME text:Manmohan Singh color:POTUS from:2004 till:2014 color:AFTERPOTUS from:2014 till:$now
bar:15 width:18 color:BEFOREPOTUS align:center fontsize:M from:1950 till:2014 shift:(-20,$dy) textcolor:NAME text:Narendra Modi color:POTUS from:2014 till:$now color:AFTERPOTUS from:$now till:$now
TextData =
fontsize:M textcolor:red pos:($warning,30) text:Atualizado em 2025
TextData =
pos:(300,$height) fontsize:L textcolor:black text:"Tempo de vida de cada Primeiro Ministro da Índia"
</timeline>