Template:elections in Alabama sidebar
{{sidebar with collapsible lists
| name = Elections in Alabama sidebar
| title = Elections in Alabama
| listtitlestyle = border-top:#aaa 1px solid;
| listclass = hlist
| navbarstyle = padding-top:0;
| image = File:Seal of Alabama.svg
| list1title = Federal government
| list1 = {{sidebar
| bodystyle = {{subinfobox bodystyle}}
| heading1 = Presidential elections
| content1 =
- 1820
- 1824
- 1828
- 1832
- 1836
- 1840
- 1844
- 1848
- 1852
- 1856
- 1860
- 1868
- 1872
- 1876
- 1880
- 1884
- 1888
- 1892
- 1896
- 1900
- 1904
- 1908
- 1912
- 1916
- 1920
- 1924
- 1928
- 1932
- 1936
- 1940
- 1944
- 1948
- 1952
- 1956
- 1960
- 1964
- 1968
- 1972
- 1976
- 1980
- 1984
- 1988
- 1992
- 1996
- 2000
- 2004
- 2008
- 2012
- 2016
- 2020
- 2024
| heading2 = Presidential primaries
| content2 =
;{{nobold|Democratic}}
: 1992
: 1996
: 2000
: 2004
: 2008
: 2016
: 2020
: 2024
;{{nobold|Republican}}
: 1992
: 1996
: 2000
: 2004
: 2008
: 2012
: 2016
: 2020
: 2024
| heading3 = U.S. Senate elections
| content3 =
- 1819
- 1822
- 1822 sp
- 1826 sp
- 1828
- 1831
- 1834
- 1837
- 1837 sp
- 1840
- 1841 sp
- 1842
- 1847
- 1848 sp
- 1849 sp
- 1853
- 1855
- 1858
- 1868
- 1870
- 1872
- 1872 sp
- 1876
- 1878
- 1878 sp
- 1880 sp
- 1882
- 1884
- 1888
- 1890
- 1894
- 1896
- 1897
- 1900
- 1903
- 1907
- 1907 sp
- 1908
- 1911
- 1914
- 1914 sp
- 1918
- 1920
- 1920 sp
- 1924
- 1926
- 1930
- 1932
- 1936
- 1938
- 1938 sp
- 1942
- 1944
- 1946 sp
- 1948
- 1950
- 1954
- 1956
- 1960
- 1962
- 1966
- 1968
- 1972
- 1974
- 1978
- 1978 sp
- 1980
- 1984
- 1986
- 1990
- 1992
- 1996
- 1998
- 2002
- 2004
- 2008
- 2010
- 2014
- 2016
- 2017 sp
- 2020
- 2022
- 2026
- 2028
| heading4 = U.S. House of Representatives elections
| content4 =
- 1819
- 1821
- 1823
- 1825
- 1827
- 1829
- 1831
- 1833
- 1835
- 1837
- 1839
- 3rd sp
- 1841
- 1843
- 1845
- 3rd sp
- 1846
- 7th sp
- 1847
- 3rd sp
- 1849
- 1851
- 1853
- 1855
- 1857
- 1859
- 1868
- 1869
- 1870
- 1872
- 1874
- 1876
- 1878
- 1880
- 6th sp
- 1882
- 1883
- 1st sp
- 8th sp
- 1884
- 1886
- 1888
- 1890
- 1892
- 1894
- 3rd sp
- 1896
- 1898
- 1900
- 8th sp
- 1902
- 1904
- 5th sp
- 1906
- 1908
- 2nd sp
- 1910
- 1912
- 1914
- 3rd sp
- 8th sp
- 1916
- 1918
- 1919
- 7th sp
- 1920
- 5th sp
- 1921
- 4th sp
- 1922
- 1923
- 2nd sp
- 1924
- 1926
- 1928
- 3rd sp
- 5th sp
- 1930
- 1932
- 1933
- 8th sp
- 1934
- 1935
- 1st sp
- 1936
- 1938
- 2nd sp
- 1940
- 7th sp
- 1941
- 7th sp
- 1942
- 1943
- 3rd sp
- 1944
- 3rd sp
- 1946
- 1947
- 8th sp
- 1948
- 1950
- 1952
- 1954
- 1956
- 1958
- 1960
- 1962
- 1964
- 1966
- 1968
- 1970
- 1972
- 3rd sp
- 1974
- 1976
- 1978
- 1980
- 1982
- 1984
- 1986
- 1988
- 1989
- 3rd sp
- 1990
- 1992
- 1994
- 1996
- 1998
- 2000
- 2002
- 2004
- 2006
- 2008
- 2010
- 2012
- 2013
- 1st sp
- 2014
- 2016
- 2018
- 2020
- 2022
- 2024
}}
| list2title = State government
| list2 ={{sidebar
| bodystyle = {{subinfobox bodystyle}}
| heading1 = State elections
| content1 =
| heading2 = Gubernatorial elections
| content2 =
- 1819
- 1821
- 1823
- 1825
- 1827
- 1829
- 1831
- 1833
- 1835
- 1837
- 1839
- 1841
- 1843
- 1845
- 1847
- 1849
- 1851
- 1853
- 1855
- 1857
- 1859
- 1861
- 1863
- 1865
- 1868
- 1870
- 1872
- 1874
- 1876
- 1878
- 1880
- 1882
- 1884
- 1886
- 1888
- 1890
- 1892
- 1894
- 1896
- 1898
- 1900
- 1902
- 1906
- 1910
- 1914
- 1918
- 1922
- 1926
- 1930
- 1934
- 1938
- 1942
- 1946
- 1950
- 1954
- 1958
- 1962
- 1966
- 1970
- 1974
- 1978
- 1982
- 1986
- 1990
- 1994
- 1998
- 2002
- 2006
- 2010
- 2014
- 2018
- 2022
- 2026
| heading3 = Lieutenant gubernatorial elections
| content3 =
| heading4 = Attorney General elections
| content4 =
| heading5 = Secretary of State elections
| content5 =
| heading6 = State Auditor elections
| content6 =
| heading7 = State Treasurer elections
| content7 =
| heading8 = Commissioner of Agriculture and Industries elections
| content8 =
| heading9 = Supreme Court elections
| content9 =
- 1970
- 1972
- 1974
- 1978
- 1980
- 1982
- 1984
- 1986
- 1988
- 1990
- 1992
- 1994
- 1996
- 1998
- 2000
- 2002
- 2004
- 2006
- 2008
- 2010
- 2012
- 2014
- 2016
- 2018
- 2020
- 2022
- 2024
- 2026
| heading10 = Public Service Commission elections
|content10=
| heading11 = Senate elections
| content11 =
| heading12 = House of Representatives elections
| content12 =
}}
| list3title = Ballot measures
| list3 =
;1999
;2000
;2006
;2020
;2024
| list4title = Auburn
| list4 = {{sidebar
| bodystyle = {{subinfobox bodystyle}}
| heading1 = Municipal
| content1 =
}}
| list5title = Birmingham
| list5 = {{sidebar
| bodystyle = {{subinfobox bodystyle}}
| heading1 = Mayoral elections
| content1 =
}}
| list6title = Huntsville
| list6 = {{sidebar
| bodystyle = {{subinfobox bodystyle}}
| heading1 = Mayoral elections
| content1 =
}}
| list7title = Lee County
| list7 = {{sidebar
| bodystyle = {{subinfobox bodystyle}}
| heading1 = Elections
| content1 =
}}
| list8title = Mobile
| list8 = {{sidebar
| bodystyle = {{subinfobox bodystyle}}
| heading1 = Mayoral elections
| content1 =
}}
| list9title = Montgomery
| list9 = {{sidebar
| bodystyle = {{subinfobox bodystyle}}
| heading1 = Mayoral elections
| content1 =
}}
| below = {{icon|Category}} Government
}}