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 =

| 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 =

| heading4 = U.S. House of Representatives elections

| content4 =

}}

| list2title = State government

| list2 ={{sidebar

| bodystyle = {{subinfobox bodystyle}}

| heading1 = State elections

| content1 =

| heading2 = Gubernatorial elections

| content2 =

| 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 =

| heading10 = Public Service Commission elections

|content10=

| heading11 = Senate elections

| content11 =

| heading12 = House of Representatives elections

| content12 =

}}

| list3title = Ballot measures

| list3 =

;1999

:Amendment 1

;2000

:Amendment 2

;2006

:Amendment 774

;2020

:Amendment 1

;2024

:Amendment 1 (November)

| 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

}}

Sidebar

Alabama