Template:Infobox election/testcases#Two-round primary

{{Use mdy dates|date=November 2013}}

{{for|more testcases|Template:Infobox election/testcases2|Template:Infobox election/testcases3}}

{{Testcases}}

{{purge button|right}}

{{TOC right}}

Presidential

=1=

{{Testcase table

| election_name = 1952 United States presidential election

| country = United States

| flag_year = 1912

| type = presidential

| previous_election = 1948 United States presidential election

| previous_year = 1948

| election_date = November 4, 1952

| next_election = 1956 United States presidential election

| next_year = 1956

| votes_for_election = 531 members of the Electoral College

| needed_votes = 266 electoral

| turnout = 63.3%{{cite web |url=http://www.presidency.ucsb.edu/data/turnout.php |title=Voter Turnout in Presidential Elections |work=The American Presidency Project |publisher=UC Santa Barbara}} {{increase}} 10.3 pp

| image_size = x200px

| image1 = File:Eisenhower official cropped.png

| nominee1 = Dwight D. Eisenhower

| party1 = Republican Party (United States)

| home_state1 = New York{{cite encyclopedia |url=https://books.google.com/?id=d-379E2mFmYC&pg=PA354&dq=%22eisenhower+born+in+texas%22#v=onepage&q=%22eisenhower%20born%20in%20texas%22&f=false |encyclopedia=Encyclopedia of American Political Parties and Elections |title=Presidential Election 1952 |last1=Sabato |first1=Larry |last2=Ernst |first2=Howard |publisher=Facts on File |date=2006 |accessdate=16 November 2016 |page=354 |quote=Eisenhower, born in Texas, considered a resident of New York, and headquartered at the time in Paris, finally decided to run for the Republican nomination... |isbn=9781438109947}}{{cite web |url=http://www.uselectionatlas.org/INFORMATION/INFORMATION/presidents.php |title=The Presidents |accessdate=January 3, 2009 |work=uselectionatlas.org |publisher=David Leip}}

| running_mate1 = Richard Nixon

| electoral_vote1 = 442

| states_carried1 = 39

| popular_vote1 = 34,075,529

| percentage1 = {{percent| 34,075,529| 61,751,942|1|pad=yes}}

| image2 = Adlai Stevenson close-up.jpg

| nominee2 = Adlai Stevenson

| party2 = Democratic Party (United States)

| home_state2 = Illinois

| running_mate2 = John Sparkman

| electoral_vote2 = 89

| states_carried2 = 9

| popular_vote2 = 27,375,090

| percentage2 = {{percent| 27,375,090| 61,751,942|1|pad=yes}}

| map_size = 350px

| map = {{1952 United States presidential election imagemap}}

| map_caption = Presidential election results map. Red denotes states won by Eisenhower/Nixon, blue denotes those won by Stevenson/Sparkman. Numbers indicate the number of electoral votes allotted to each state.

| title = President

| before_election = Harry S. Truman

| before_party = Democratic Party (United States)

| after_election = Dwight D. Eisenhower

| after_party = Republican Party (United States)

| ongoing =

}}

Older flag

= 2 =

{{Testcase table

| election_name = 1792 United States presidential election

| country = United States

| flag_year = 1777

| type = presidential

| ongoing = no

| previous_election = 1788–89 United States presidential election

| previous_year = 1956

| next_election = 1796 United States presidential election

| next_year = 1964

| election_date =

| party_color = no

| map_image = ElectoralCollege1792-Large.png

| map_size = 290px

| map_caption = Presidential election results map. Numbers indicate the number of electoral votes allotted to each state.

| before_election = George Washington

| before_party =

| after_election = George Washington

| after_party =

}}

No map

= 3 =

{{Testcase table

| election_name = 2008 United States presidential election

| country = United States

| type = presidential

| ongoing = no

| previous_election = 2004 United States presidential election

| previous_year = 2004

| next_election = 2012 United States presidential election

| next_year = 2012

| election_date = 4 November 2008

| image1 = Dianne_Feinstein.jpg

| nominee1 = Dianne Feinstein

| party1 = Republican Party (US)

| party_color = #FF3333

| home_state1 = California

| running_mate1 = John Edwards

| electoral_vote1 = 442

| states_carried1 = 25 + NE-2 + ME-2

| popular_vote1 = 68,606,824

| percentage1 = 53%

| image2 = Howard Dean DNC Winter Meet 0901 Governor Dean for Kieth (33175986375) (cropped).jpg

| nominee2 = Howard Dean

| party2 = Democratic Party (US)

| party_color2 = #3333FF

| home_state2 = Vermont

| running_mate2 = Jerry Brown

| electoral_vote2 = 215

| states_carried2 = 25 + D.C

| popular_vote2 = 59,545,545

| percentage2 = 46%

| map_image =

| map_size = 400px

| map_caption = Presidential election results map. Blue denotes states won by Dean/Brown, Red denotes those won by Feinstein/Edwards. Numbers indicate the number of electoral votes allotted to each state.

| title =President

| before_election = Joe Lieberman

| before_party = Republican Party (US)

| after_election = Dianne Feinstein

| after_party = Republican Party (US)

}}

Parliamentary 2 party

= 4 =

{{Testcase table

| election_name = 2007 Saskatchewan general election

| country = Saskatchewan

| type = parliamentary

| ongoing = no

| previous_election = 2003 Saskatchewan general election

| previous_year = 2003

| previous_mps = 25th Legislative Assembly of Saskatchewan

| next_election = 2011 Saskatchewan general election

| next_year = 2011

| next_mps =

| seats_for_election = 58 seats in the 26th Legislative Assembly of Saskatchewan

| majority_seats = 30

| election_date = November 7, 2007

| image1 = BradWall.jpg

| colour1 = {{Canadian party colour|SK|Saskatchewan|nohash}}

| leader1 = Brad Wall

| leader_since1 = March 15, 2004

| party1 = {{Canadian party colour|SK|Saskatchewan|name}}

| leaders_seat1 = Swift Current

| last_election1 = 28 seats, 39.35%

| seats1 = 38

| seat_change1 = +10

| popular_vote1 = 230,668

| percentage1 = 50.92%

| swing1 = +11.57%

| image2 = Calvert.jpg

| colour2 = {{Canadian party colour|SK|NDP|nohash}}

| leader2 = Lorne Calvert

| leader_since2 = January 27, 2001

| party2 = {{Canadian party colour|SK|NDP|name}}

| leaders_seat2 = Saskatoon Riversdale

| last_election2 = 30 seats, 44.68%

| seats2 = 20

| seat_change2 = -10

| popular_vote2 = 168,701

| percentage2 = 37.24%

| swing2 = -7.44%

| map_image = Sask07.PNG

| map_size = 250px

| map_caption =

| title = Premier

| before_election = Lorne Calvert

| before_party = {{Canadian party colour|SK|NDP|name}}

| after_election = Brad Wall

| after_party = {{Canadian party colour|SK|Saskatchewan|name}}

}}

Note: Link to members from previous election; "First party" and "Second party" labels.

Parliamentary 3 party

{{Testcase table

| election_name = 1988 Canadian federal election

| country = Canada

| type = parliamentary

| ongoing = no

| party_colour = no

| party_name = no

| previous_election = 1984 Canadian federal election

| previous_year = 1984

| previous_mps = 33rd Canadian Parliament

| next_election = 1993 Canadian federal election

| next_year = 1993

| next_mps = 35th Canadian Parliament

| seats_for_election = 295 seats in the 34th Canadian Parliament | majority_seats = 148

| election_date = November 21, 1988

| image1 = Mulroney.jpg

| colour1 = {{Canadian party colour|CA|PC|nohash}}

| leader1 = Brian Mulroney

| leader_since1 = June 11, 1983

| party1 = {{Canadian party colour|CA|PC|name}}

| leaders_seat1 = Manicouagan
candidate in Charlevoix

| last_election1 = 211 seats, 50.03%

| seats_before1 = 203

| seats1 = 169

| seat_change1 = −34

| popular_vote1 = 5,667,543

| percentage1 = 43.02%

| swing1 = −7.02pp

| image2 = Fmr CDN PM John Turner.jpg

| colour2 = {{Canadian party colour|CA|Liberal|nohash}}

| leader2 = John Turner

| leader_since2 = June 16, 1984

| party2 = {{Canadian party colour|CA|Liberal|name}}

| leaders_seat2 = Vancouver Quadra

| last_election2 = 40 seats, 28.02%

| seats_before2 = 38

| seats2 = 83

| seat_change2 = +45

| popular_vote2 = 4,205,072

| percentage2 = 31.92%

| swing2 = +3.89pp

| image3 =Ed Broadbent.jpg

| colour3 = {{Canadian party colour|CA|NDP|nohash}}

| leader3 = Ed Broadbent

| leader_since3 = July 7, 1975

| party3 = {{Canadian party colour|CA|NDP|name}}

| leaders_seat3 = Oshawa

| last_election3 = 30 seats, 18.81%

| seats_before3 = 32

| seats3 = 43

| seat_change3 = +11

| popular_vote3 = 2,685,263

| percentage3 = 20.38%

| swing3 = +1.57pp

| map_image = Canada 1988 Federal Election.svg

| map_size = 250px

| map_caption =

| title = Prime Minister

| posttitle = Prime Minister after election

| before_election = Brian Mulroney

| before_party = {{Canadian party colour|CA|PC|name}}

| after_election = Brian Mulroney

| after_party = {{Canadian party colour|CA|PC|name}}

}}

Parliamentary 5 party

= 6 =

{{Testcase table

| election_name = 1997 Canadian federal election

| country = Canada

| type = parliamentary

| party_colour = no

| party_name = no

| ongoing = no

| previous_election = 1993 Canadian federal election

| previous_year = 1993

| previous_mps = 35th Canadian Parliament

| next_election = 2000 Canadian federal election

| next_year = 2000

| next_mps = 37th Canadian Parliament

| seats_for_election = 301 seats in the 36th Canadian Parliament | majority_seats = 151

| election_date = {{start-date|June 2, 1997}}

| image1 = Chrétien crop Sept 9 2002.jpg

| colour1 = {{Canadian party colour|CA|Liberal|nohash}}

| leader1 = Jean Chrétien

| leader_since1 = June 23, 1990

| party1 = {{Canadian party colour|CA|Liberal|name}}

| leaders_seat1 = Saint-Maurice

| last_election1 = 177 seats, 41.24%

| seats_before1 = 174

| seats1 = 155

| seat_change1 = −19

| popular_vote1 = 4,994,277

| percentage1 = 38.46%

| swing1 = −2.78pp

| image2 = PrestonManning.jpg

| colour2 = {{Canadian party colour|CA|Reform|nohash}}

| leader2 = Preston Manning

| leader_since2 = October 31, 1987

| party2 = {{Canadian party colour|CA|Reform|name}}

| leaders_seat2 = Calgary Southwest

| last_election2 = 52 seats, 18.69%

| seats_before2 = 50

| seats2 = 60

| seat_change2 = +10

| popular_vote2 = 2,513,080

| percentage2 = 19.35%

| swing2 = +0.66pp

| image3 = Gilles Duceppe2.jpg

| colour3 = {{Canadian party colour|CA|BQ|nohash}}

| leader3 = Gilles Duceppe

| leader_since3 = March 15, 1997

| party3 = {{Canadian party colour|CA|BQ|name}}

| leaders_seat3 = Laurier—
Sainte-Marie

| last_election3 = 54 seats, 13.52%

| seats_before3 = 50

| seats3 = 44

| seat_change3 = −6

| popular_vote3 = 1,385,821

| percentage3 = 10.67%

| swing3 = −2.85pp

| image4 = Mcdonoughalexa.jpg

| colour4 = {{Canadian party colour|CA|NDP|nohash}}

| leader4 = Alexa McDonough

| leader_since4 = October 14, 1995

| party4 = {{Canadian party colour|CA|NDP|name}}

| leaders_seat4 = Halifax

| last_election4 = 9 seats, 6.88%

| seats_before4 = 9

| seats4 = 21

| seat_change4 = +12

| popular_vote4 = 1,434,509

| percentage4 = 11.05%

| swing4 = +4.17pp

| image5 = Jean Charest.jpg

| colour5 = {{Canadian party colour|CA|PC|nohash}}

| leader5 = Jean Charest

| leader_since5 = April 29, 1995

| party5 = {{Canadian party colour|CA|PC|name}}

| leaders_seat5 = Sherbrooke

| last_election5 = 2 seats, 16.04%

| seats_before5 = 2

| seats5 = 20

| seat_change5 = +18

| popular_vote5 = 2,446,705

| percentage5 = 18.84%

| swing5 = +2.80pp

| map_image = Canada 1997 Federal Election.svg

| map_size = 250px

| map_caption =

| title = Prime Minister

| posttitle = Prime Minister after election

| before_election = Jean Chrétien

| before_party = {{Canadian party colour|CA|Liberal|name}}

| after_election = Jean Chrétien

| after_party = {{Canadian party colour|CA|Liberal|name}}

}}

Note: Five parties listed.

Presidential 3 nominees

= 7 =

{{Testcase table

| election_name = 2006 Mexican general election

| country = Mexico

| type = presidential

| ongoing = no

| previous_election = 2000 Mexican general election

| previous_year = 2000

| next_election = 2012 Mexican general election

| next_year = 2012

| election_date = 2 July 2006

| image1 = Felipe Calderon H.jpg

| nominee1 = Felipe Calderón Hinojosa

| party1 = National Action Party (Mexico)

| home_state1 = Michoacán

| states_carried1 = 16

| popular_vote1 = 15,000,284

| percentage1 = 35.89%

| image2 = Andres Manuel Lopez Obrador.jpg

| nominee2 = Andrés Manuel López Obrador

| party2 = Party of the Democratic Revolution

| home_state2 = Tabasco

| states_carried2 = 15+DF

| popular_vote2 = 14,756,350

| percentage2 = 35.31%

| image3 = Roberto Madrazo.jpg

| nominee3 = Roberto Madrazo

| party3 = Institutional Revolutionary Party

| home_state3 = Tabasco

| states_carried3 = 0

| popular_vote3 = 9,301,441

| percentage3 = 22.26%

| map_image = 2006 Mexican election per state.svg

| map_size = 350px

| map_caption = Presidential election results map. Blue denotes states won by Calderón (16), Yellow denotes those won by López Obrador (13+DF). Numbers indicate the number of each state.

| title=President

| before_election = Vicente Fox

| before_party = National Action Party (Mexico)

| after_election = Felipe Calderón

| after_party = National Action Party (Mexico)

}}

Parliamentary missing image

= 8 =

{{Testcase table

| election_name = 2008 general election

| country = New Zealand

| type = parliamentary

| ongoing = yes

| party_colour =

| previous_election = 2005 New Zealand general election

| previous_year = 2005

| next_election = 2011 New Zealand general election

| next_year = 2011

| seats_for_election = New Zealand House of Representatives

| election_date = Must be held before {{nowrap|15 November 2008}}

| image1 = Helen Clark 2.jpg

| colour1 =

| nominee1 =

| leader1 = Helen Clark

| leader_since1 = 1993

| party1 = New Zealand Labour Party

| home_state1 = Auckland

| leaders_seat1 = Mount Albert

| running_mate1 =

| last_election1 = 2002

| seats_needed1 =

| electoral_vote1 =

| states_carried1 =

| seats1 =

| seat_change1 =

| popular_vote1 =

| percentage1 =

| swing1 =

| image2 =

| colour2 =

| nominee2 =

| leader2 = John Key

| leader_since2 = 2006

| party2 = New Zealand National Party

| home_state2 =

| leaders_seat2 = Helensville

| running_mate2 =

| last_election2 = Not applicable

| seats_needed2 =

| electoral_vote2 =

| states_carried2 =

| seats2 =

| seat_change2 =

| popular_vote2 =

| percentage2 =

| swing2 =

| map_image =

| map_size =

| map_caption =

| title =

| before_election = Labour

| before_colour =

| after_election =

| after_colour =

| before_party = Labour

| after_party =

}}

Presidential 6 candidates

= 9 =

{{Testcase table

| election_name = 2008 United States presidential election

| country = United States

| type = presidential

| ongoing = yes

| previous_election = 2004 United States presidential election

| previous_year = 2004

| next_election = 2012 United States presidential election

| next_year = 2012

| election_date = 4 November 2008

| image1 = Hillary Rodham Clinton.jpg

| candidate1 = Hillary Clinton

| party1 = Democratic Party (US)

| home_state1 = New York

| running_mate1 =

| electoral_vote1 =

| delegate_count1 = 246½

| states_carried1 =

| popular_vote1 =

| percentage1 =

| image2 = Sen. Barack Obama smiles.jpg

| candidate2 = Barack Obama

| party2 = Democratic Party (US)

| home_state2 = Illinois

| running_mate2 =

| electoral_vote2 =

| delegate_count2 = 478

| states_carried2 =

| popular_vote2 =

| percentage2 =

| image3 = John Edwards, official Senate photo portrait.jpg

| candidate3 = John Edwards

| party3 = Democratic Party (US)

| home_state3 = North Carolina

| running_mate3 =

| electoral_vote3 = –

| delegate_count3 =

| states_carried3 =

| popular_vote3 =

| percentage3 =

| image4 = Rudy Giuliani.jpg

| candidate4 = Rudy Giuliani

| party4 = Republican Party (US)

| home_state4 = New York

| running_mate4 =

| electoral_vote4 =

| delegate_count4 = –

| states_carried4 =

| popular_vote4 =

| percentage4 =

| image5 = Fred Thompson.jpg

| candidate5 = Fred Thompson

| party5 = Republican Party (US)

| home_state5 = Tennessee

| running_mate5 =

| electoral_vote5 =

| delegate_count5 = 9

| states_carried5 =

| popular_vote5 =

| percentage5 =

| image6 = John McCain official photo portrait.JPG

| candidate6 = John McCain

| party6 = Republican Party (US)

| home_state6 = Arizona

| running_mate6 =

| electoral_vote6 =

| delegate_count6 = 1,367

| states_carried6 =

| popular_vote6 =

| percentage6 =

| map_image = US Electoral College Map.PNG

| map_size = 350px

| map_caption = Presidential electoral votes by state.

| title = President

| before_election = George W. Bush

| before_party = Republican Party (US)

| after_election =

| after_party =

}}

Presidential 4 candidates

= 10 =

{{Testcase table

|election_name = 2014 Abkhazian presidential election

|country = Abkhazia

|type = presidential

|ongoing = no

|party_colour = yes

|party_name = no

|previous_election = 2011 Abkhazian presidential election

|previous_year = 2011

|next_election = Elections in Abkhazia

|next_year = Next

|election_date = 24 August 2014

|candidate1= Raul Khajimba

|colour1 =

|image1 =

|party1 = Forum for the National Unity of Abkhazia

| running_mate1 =

| popular_vote1 = 50,494

| percentage1 = 51.52%

|candidate2= Aslan Bzhania

|colour2 =

|image2 =

|party2 =

| running_mate2 =

| popular_vote2 = 35,860

| percentage2 = 36.59%

|candidate4= Merab Kishmaria

|colour4 =

|image4 =

|party4 =

| running_mate4 =

| popular_vote4 = 6,389

| percentage4 = 6.52%

|candidate5= Leonid Dzapshba

|colour5 =

|image5 =

|party5 =

| running_mate5 =

| popular_vote5 = 3,397

| percentage5 = 3.47%

|title= President

|before_election= Valeri Bganba (acting)

|before_party=

|after_election= Raul Khajimba

|after_party = Forum for the National Unity of Abkhazia

}}

Note: Additional labels (opinion polls) with links to external sites.

Parliamentary no leaders or parties

= 11 =

{{Testcase table

| election_name = 1987 European Parliament election in Spain

| country = Spain

| type = parliamentary

| ongoing = no

| previous_election =

| previous_year =

| next_election = 1989 European Parliament election (Spain)

| next_year = 1989

| outgoing_members =

| elected_members =

| seats_for_election = All 60 Spanish seats to the European Parliament

| majority_seats =

| opinion_polls =

| registered = 28,450,491

| turnout = 19,494,098 (68.5%)

| election_date = 10 June 1987

}}

Spain

= 12 =

{{Testcase table

| election_name = 2015 Spanish general election

| country = Spain

| type = parliamentary

| ongoing = no

| previous_election = 2011 Spanish general election

| previous_year = 2011

| next_election = 2016 Spanish general election

| next_year = 2016

| outgoing_members = Members of the 10th Cortes Generales

| elected_members = Members of the 11th Cortes Generales

| seats_for_election = All 350 seats in the Congress of Deputies and 208 (of 266) seats in the Senate
176 seats needed for a majority in the Congress of Deputies

| opinion_polls = Opinion polling for the 2015 Spanish general election

| registered = 36,511,848 {{small|10px2.0%}}

| turnout = 25,438,532 (69.7%)
10px0.8 pp

| election_date = 20 December 2015

| image1 = Mariano Rajoy 2015e (cropped).jpg

| leader1 = Mariano Rajoy

| leader_since1 = 2 September 2003

| leaders_seat1 = Madrid

| party1 = People's Party (Spain)

| last_election1 = 187 seats, 45.0%

| seats1 = 123

| seat_change1 = 10px64

| popular_vote1 = 7,236,965

| percentage1 = 28.7%

| swing1 = 10px16.3 pp

| image2 = Pedro Sánchez 2015h (cropped).jpg

| leader2 = Pedro Sánchez

| leader_since2 = 26 July 2014

| leaders_seat2 = Madrid

| party2 = Spanish Socialist Workers' Party

| last_election2 = 110 seats, 28.8%

| seats2 = 90

| seat_change2 = 10px20

| popular_vote2 = 5,545,315

| percentage2 = 22.0%

| swing2 = 10px6.8 pp

| image3 = Pablo Iglesias 2015 (cropped).jpg

| leader3 = Pablo Iglesias

| leader_since3 = 15 November 2014

| leaders_seat3 = Madrid

| party3 = Podemos (Spanish political party)

| last_election3 = Did not contest

| seats3 = 69

| seat_change3 = 10px65

| popular_vote3 = 5,212,711

| percentage3 = 20.7%

| swing3 = New party

| image4 = Albert Rivera 2015c (cropped).jpg

| leader4 = Albert Rivera

| leader_since4 = 9 July 2006

| leaders_seat4 = Madrid

| party4 = C's

| colour4 = EB6109

| last_election4 = Did not contest

| seats4 = 40

| seat_change4 = 10px40

| popular_vote4 = 3,514,528

| percentage4 = 13.9%

| swing4 = New party

| image5 = Gabriel Rufián 2016 (cropped).jpg

| leader5 = Gabriel Rufián

| leader_since5 = 7 November 2015

| leaders_seat5 = Barcelona

| party5 = Republican Left of Catalonia–Catalonia Yes

| last_election5 = 3 seats, 1.1%

| seats5 = 9

| seat_change5 = 10px6

| popular_vote5 = 604,285

| percentage5 = 2.4%

| swing5 = 10px1.3 pp

| image6 = Francesc Homs 2016 (cropped).jpg

| leader6 = Francesc Homs

| leader_since6 = 6 November 2015

| leaders_seat6 = Barcelona

| party6 = Democracy and Freedom

| last_election6 = 16 seats, 4.2%

| seats6 = 8

| seat_change6 = 10px8

| popular_vote6 = 567,253

| percentage6 = 2.2%

| swing6 = 10px2.0 pp

| map_image = SpainProvinceMapCongress2015.png

| map_size = 435px

| map_caption = Provincial results map for the Congress of Deputies

| title = Prime Minister

| before_election = Mariano Rajoy

| before_party = People's Party (Spain)

| after_election = Mariano Rajoy (ad interim)

| after_party = People's Party (Spain)

}}

US Primary (settled)

{{Testcase table

| election_name = 2008 Democratic Party presidential primaries

| country = United States

| type = primary

| ongoing = no

| previous_election = 2004 Democratic Party presidential primaries

| previous_year = 2004

| next_election = 2012 Democratic Party presidential primaries

| next_year = 2012

| election_date = January 3 to June 3, 2008

| image1 = Obama portrait crop.jpg

| candidate1 = Barack Obama

| colour1 = 800080

| home_state1 = Illinois

| popular_vote1 = 17,584,692*{{cite web|url=http://www.thegreenpapers.com/P08/D.phtml |title=Democratic Convention 2008 |publisher=The Green Papers |accessdate=2012-03-07}}

| percentage1 = 47.31%

| states_carried1 = 33

| delegate_count1 = 2,285½

| image2 = Hillary Clinton crop.jpg

| candidate2 = Hillary Clinton

| colour2 = D4AA00

| home_state2 = New York

| popular_vote2 = 17,857,501*

| percentage2 = 48.04%

| states_carried2 = 23

| delegate_count2 = 1,973

| map_image = Democratic presidential primary, 2008.svg

| map_size = 350px

| map_caption = Democratic Primary Results (popular vote or delegate equivalent). Purple denotes an Obama win and gold a Clinton win.

----

*Popular vote totals were not released for Iowa, Maine, Nevada, and Washington and therefore are not included.

| title = Democratic nominee

| before_election = John Kerry

| after_election = Barack Obama

}}

US Primary (ongoing)

{{Testcase table

| election_name = 2016 Republican Party presidential primaries

| country = United States

| type = primary

| ongoing = yes

| previous_election = Republican Party presidential primaries, 2012

| previous_year = 2012

| next_election = Republican Party presidential primaries, 2020

| next_year = 2020

| election_date = February 1 – June 7, 2016

| votes_for_election = 2,472 delegates to the Republican National Convention

| needed_votes = 1,237 delegate

| party_name = no

| image1 = Donald Trump New Hampshire Town Hall (cropped).jpg

| candidate1 = Donald Trump

| color1 = 283681

| home_state1 = New York

| states_carried1 = 28

| popular_vote1 = 10,713,526{{cite web |url=http://www.thegreenpapers.com/P16/R |title=Republican Convention |work=The Green Papers |first=Richard E. |last=Berg-Andersson |accessdate=May 5, 2016}} (Source for popular vote and delegates pledged to withdrawn candidates: The Green Papers tally)

| percentage1 = 40.2%

| delegate_count1 = 1,014{{cite web |url=https://www.gop.com/official-2016-gop-delegate-count |title=RNC's 2016 Presidential Primary Estimated Delegate Count |publisher=Republican Party |date=April 22, 2016 |accessdate=April 22, 2016}} (Source for delegates pledged to active candidates: GOP official estimate + delegates won on May 3, pending source update)

| image2 = Ted Cruz, official portrait, 113th Congress (cropped 2).jpg

| candidate2 = Ted Cruz

| color2 = DAA520

| home_state2 = Texas

| states_carried2 = 11

| popular_vote2 = 7,321,878

| percentage2 = 27.5%

| delegate_count2 = 546

| image4 = Marco Rubio, Official Portrait, 112th Congress.jpg

| candidate4 = Marco Rubio

| color4 = C60E3B

| home_state4 = Florida

| states_carried4 = 3

| popular_vote4 = 3,497,828

| percentage4 = 13.1%

| delegate_count4 = 173

| image5 = Governor John Kasich (cropped2).jpg

| candidate5 = John Kasich

| color5 = 29AB87

| home_state5 = Ohio

| states_carried5 = 1

| popular_vote5 = 3,762,367

| percentage5 = 14.1%

| delegate_count5 = 154

| map_image = Republican Party presidential primaries results, 2016.svg

| map_size = 308px

| map_caption = First place by first-instance vote

{{{!}} style="font-size:110%; margin:0 auto;"

{{!}} {{Legend0|#283681|Donald Trump}} {{!}}{{!}} {{Legend0|#DAA520|Ted Cruz}}

{{!}}-

{{!}} {{Legend0|#C60E3B|Marco Rubio}} {{!}}{{!}} {{Legend0|#29AB87|John Kasich}}

{{!}}-

{{!}} {{Legend0|#000000|Uncommitted}} {{!}}{{!}}

{{!}}}

| title = Republican nominee

| before_election = Mitt Romney

| after_election = Donald Trump

| template_name = Republican Party presidential primaries, 2016

}}

No maps or images

{{Testcase table

| election_name = 1974 Northern Territory general election

| country = Northern Territory

| type = parliamentary

| ongoing = no

| previous_election =

| previous_year =

| next_election = 1977 Northern Territory general election

| next_year = 1977

| seats_for_election = All 19 seats of the Northern Territory Legislative Assembly

| election_date = {{Start date|df=yes|1974|10|19}}

| image1 =

| leader1 = Goff Letts

| leader_since1 =

| party1 = Country Liberal Party

| leaders_seat1 = Victoria River

| percentage1 = 49.0%

| swing1 =

| last_election1 =

| seats1 = 17 seats

| seat_change1 =

| title = Majority Leader

| before_election =

| before_party =

| after_election = Goff Letts

| after_party = Country Liberal Party

}}

Reporting

{{Testcase table

| votes_counted = 55

| declared = 60

| reporting = 65

| last_update = some time

| time_zone = (some zone)

}}

Flag referendums

{{Testcase table

| election_name = New Zealand flag referendums

| country = New Zealand

| type = presidential

| ongoing = no

| opinion_polls = New_Zealand_flag_debate#Two-option_polls

| turnout = First referendum: 1,546,734 (48.78%)
Second referendum: 2,140,805 (67.78%)

| 1blank = First preferences

| 2blank = Two-flag preferred

| 3blank = Second referendum

| election_date = 20 November – 11 December 2015
3–24 March 2016

|image1 = File:Flag of New Zealand.svg

|candidate1 = Flag of New Zealand

|1data1 = –

|2data1 = –

|3data1 = 56.73%

|image2 = File:NZ flag design Silver Fern (Black, White & Blue) by Kyle Lockwood.svg

|candidate2 = Silver Fern (Black, White and Blue)

|1data2 = 40.15%

|2data2 = 50.58%

|3data2 = 43.27%

|image3 = File:NZ flag design Silver Fern (Red, White & Blue) by Kyle Lockwood.svg

|candidate3 = Silver Fern (Red, White and Blue)

|1data3 = 41.64%

|2data3 = 49.42%

|image4 = File:NZ flag design Red Peak by Aaron Dustin.svg

|candidate4 = Red Peak

|1data4 = 8.77%

|2data4 = –

|image5 = File:NZ flag design Silver Fern (Black & White) by Alofi Kanter.svg

|candidate5 = Silver Fern (Black & White)

|1data5 = 5.66%

|2data5 = –

|image6 = File:NZ flag design Koru (Black) by Andrew Fyfe.svg

|candidate6 = Koru

|1data6 = 3.78%

|2data6 = –

| title = Flag of New Zealand

| before_election = A British Blue Ensign, defaced with four stars of the Crux Australis in red, outlined in white

| after_election = Same as before election

}}

Flag referendum with alt text for images

{{Testcase table

| election_name = New Zealand flag referendums

| country = New Zealand

| type = presidential

| ongoing = no

| opinion_polls = New_Zealand_flag_debate#Two-option_polls

| turnout = First referendum: 1,546,734 (48.78%)
Second referendum: 2,140,805 (67.78%)

| 1blank = First preferences

| 2blank = Two-flag preferred

| 3blank = Second referendum

| election_date = 20 November – 11 December 2015
3–24 March 2016

|image1 = Flag of New Zealand.svg

|alt1=alt text 1

|candidate1 = Flag of New Zealand

|1data1 = –

|2data1 = –

|3data1 = 56.73%

|image2 = NZ flag design Silver Fern (Black, White & Blue) by Kyle Lockwood.svg

|alt2=alt text 2

|candidate2 = Silver Fern (Black, White and Blue)

|1data2 = 40.15%

|2data2 = 50.58%

|3data2 = 43.27%

|image3 = NZ flag design Silver Fern (Red, White & Blue) by Kyle Lockwood.svg

|alt3=alt text 3

|candidate3 = Silver Fern (Red, White and Blue)

|1data3 = 41.64%

|2data3 = 49.42%

|image4 = NZ flag design Red Peak by Aaron Dustin.svg

|alt4=alt text 4

|candidate4 = Red Peak

|1data4 = 8.77%

|2data4 = –

|image5 = NZ flag design Silver Fern (Black & White) by Alofi Kanter.svg

|alt5=alt text 5

|candidate5 = Silver Fern (Black & White)

|1data5 = 5.66%

|2data5 = –

|image6 = NZ flag design Koru (Black) by Andrew Fyfe.svg

|alt6=alt text 6

|candidate6 = Koru

|1data6 = 3.78%

|2data6 = –

| title = Flag of New Zealand

| before_election = A British Blue Ensign, defaced with four stars of the Crux Australis in red, outlined in white

| after_election = Same as before election

}}

{{template reference list}}

Linking issue

{{Testcase table

| election_name = 1928 Iraqi parliamentary election

| country = Kingdom of Iraq

| type = parliamentary

| ongoing = no

| previous_election = 1925 Iraqi parliamentary election

| previous_year = 1925

| outgoing_members =

| next_election = 1930 Iraqi parliamentary election

| next_year = 1930

| elected_members =

| seats_for_election = All 88 seats in the Chamber of Deputies

| majority_seats = 45

| elected_mps =

| election_date = 9 May 1928

| turnout =

| image1 = 170x170px

| leader1 = Abdul-Muhsin Al-Saadoun

| leader_since1 =

| party1 = Progress Party

| party1_name = no

| leaders_seat1 = Basra

| last_election1 = 60

| seats1 = 66

| seat_change1 = {{increase}}6

| popular_vote1 =

| percentage1 =

| swing1 =

| image2 = 170x170px

| leader2 = Yasin al-Hashimi

| leader_since2 =

| party2 = People's Party

| party2_name = no

| leaders_seat2 = Baghdad

| last_election2 = 28

| seats2 = 22

| seat_change2 = {{decrease}}6

| popular_vote2 =

| percentage2 =

| swing2 =

| map_image =

| map_size =

| map_caption =

| title = PM

| posttitle = Subsequent PM

| before_election = Abdul-Muhsin Al-Saadoun

| before_party_link= no

| before_party = Progress Party

| after_election = Abdul-Muhsin Al-Saadoun

| after_party_link= no

| after_party = Progress Party

}}

Philippine

{{Testcase table

| election_name = 2022 Philippine general election

| election_logo = File:2022 Philippine Elections logo.svg

| election_logo_alt = Logo of the 2022 Philippine general election

| election_logo_upright = 1.2

| country = Philippines

| type =

| ongoing = yes

| registered = 67,442,714

| turnout = TBD

| previous_election = 2019 Philippine general election

| previous_year = 2019

| next_election = 2025 Philippine general election

| next_year = 2025

}}

Just one party

{{Testcase table|_showcode=yes

| election_name = Presidential election

| previous_election = August 1915 Portuguese presidential election

| previous_year = August 1915

| next_election = 1918 Portuguese presidential election

| next_year = Dececember 1918

| type = presidential

| turnout = 57.0%

| nominee1 = Sidónio Pais

| image1 = Sidónio Pais.png

| party1 = National Republican Party (Portugal)

| popular_vote1 = 513,958

| percentage1 = 100%

}}

Alternative party label

{{Testcase table

|type= parliamentary

|election_name= 2021 Swedish Church Assembly elections

|country=

|previous_election= 2017 Swedish Church Assembly elections

|previous_year= 2017

|next_election= 2025 Swedish Church Assembly elections

|next_year= 2025

|election_date= 19 September 2021

|seats_for_election= All 251 seats in the General Synod

|majority_seats= 126

|party_label= Nominating group

| image1 = File:None-100.gif

| party1 = Social Democrats

| last_election1 = 76 seats, 30.3%

| seats_before1 =

| seats1 = 70

| seat_change1 = {{decrease}} 6

| popular_vote1 = 243,246

| percentage1 = 27.5%

| swing1 = {{decrease}} 2.8 pp

| image2 = File:None-100.gif

| colour2 = FFC72C

| party2 = Non-partisans

| last_election2 = 43 seats, 17.1%

| seats_before2 =

| seats2 = 47

| seat_change2 = {{increase}} 4

| popular_vote2 = 170,946

| percentage2 = 19.3%

| swing2 = {{increase}} 2.3 pp

| image3 = File:None-100.gif

| party3 = Centre

| last_election3 = 34 seats, 13.7%

| seats_before3 =

| seats3 = 30

| seat_change3 = {{decrease}} 4

| popular_vote3 = 96,797

| percentage3 = 10.9%

| swing3 = {{decrease}} 2.7 pp

| image4 = File:None-100.gif

| colour4 = 316695

| party4 = {{ill|Borgerligt alternativ|da|Borgerligt alternativ (Svenska kyrkan)|sv}}

| last_election4 = 22 seats, 8.8%

| seats_before4 =

| seats4 = 20

| seat_change4 = {{decrease}} 2

| popular_vote4 = 71,046

| percentage4 = 8.0%

| swing4 = {{decrease}} 0.8 pp

| image5 = File:None-100.gif

| party5 = Sweden Democrats

| last_election5 = 24 seats, 9.3%

| seats_before5 =

| seats5 = 19

| seat_change5 = {{decrease}} 5

| popular_vote5 = 68,941

| percentage5 = 7.8%

| swing5 = {{decrease}} 1.5 pp

| image6 = File:None-100.gif

| colour6 = {{party colour|Left Party (Sweden)}}

| party6 = Left

| last_election6 = 9 seats, 3.8%

| seats_before6 =

| seats6 = 19

| seat_change6 = {{increase}} 10

| popular_vote6 = 67,519

| percentage6 = 7.6%

| swing6 = {{increase}} 3.9 pp

| image7 = File:None-100.gif

| colour7 = E96656

| party7 = {{ill|Open Church|sv|Öppen kyrka}}

| last_election7 = 11 seats, 4.4%

| seats_before7 =

| seats7 = 13

| seat_change7 = {{increase}} 2

| popular_vote7 = 48,692

| percentage7 = 5.5%

| swing7 = {{increase}} 1.1 pp

}}

=Empty alternative party label=

{{Testcase table

|type= parliamentary

|election_name= 2021 Swedish Church Assembly elections

|country=

|previous_election= 2017 Swedish Church Assembly elections

|previous_year= 2017

|next_election= 2025 Swedish Church Assembly elections

|next_year= 2025

|election_date= 19 September 2021

|seats_for_election= All 251 seats in the General Synod

|majority_seats= 126

|party_label=

| image1 = File:None-100.gif

| party1 = Social Democrats

| last_election1 = 76 seats, 30.3%

| seats_before1 =

| seats1 = 70

| seat_change1 = {{decrease}} 6

| popular_vote1 = 243,246

| percentage1 = 27.5%

| swing1 = {{decrease}} 2.8 pp

| image2 = File:None-100.gif

| colour2 = FFC72C

| party2 = Non-partisans

| last_election2 = 43 seats, 17.1%

| seats_before2 =

| seats2 = 47

| seat_change2 = {{increase}} 4

| popular_vote2 = 170,946

| percentage2 = 19.3%

| swing2 = {{increase}} 2.3 pp

| image3 = File:None-100.gif

| party3 = Centre

| last_election3 = 34 seats, 13.7%

| seats_before3 =

| seats3 = 30

| seat_change3 = {{decrease}} 4

| popular_vote3 = 96,797

| percentage3 = 10.9%

| swing3 = {{decrease}} 2.7 pp

| image4 = File:None-100.gif

| colour4 = 316695

| party4 = {{ill|Borgerligt alternativ|da|Borgerligt alternativ (Svenska kyrkan)|sv}}

| last_election4 = 22 seats, 8.8%

| seats_before4 =

| seats4 = 20

| seat_change4 = {{decrease}} 2

| popular_vote4 = 71,046

| percentage4 = 8.0%

| swing4 = {{decrease}} 0.8 pp

| image5 = File:None-100.gif

| party5 = Sweden Democrats

| last_election5 = 24 seats, 9.3%

| seats_before5 =

| seats5 = 19

| seat_change5 = {{decrease}} 5

| popular_vote5 = 68,941

| percentage5 = 7.8%

| swing5 = {{decrease}} 1.5 pp

| image6 = File:None-100.gif

| colour6 = {{party colour|Left Party (Sweden)}}

| party6 = Left

| last_election6 = 9 seats, 3.8%

| seats_before6 =

| seats6 = 19

| seat_change6 = {{increase}} 10

| popular_vote6 = 67,519

| percentage6 = 7.6%

| swing6 = {{increase}} 3.9 pp

| image7 = File:None-100.gif

| colour7 = E96656

| party7 = {{ill|Open Church|sv|Öppen kyrka}}

| last_election7 = 11 seats, 4.4%

| seats_before7 =

| seats7 = 13

| seat_change7 = {{increase}} 2

| popular_vote7 = 48,692

| percentage7 = 5.5%

| swing7 = {{increase}} 1.1 pp

}}

Mayor should not be capitalized in "Elected mayor"

{{Testcase table

| election_name = Irvine mayoral election, 1988

| popular_vote2 = 8,707

| after_election = Larry Agran

| before_election = Larry Agran

| title = Mayor

| map_caption =

| map_size =

| map_image =

| percentage3 = 11.3

| popular_vote3 = 3,111

| color3 = c0c0c0 | candidate3 = Hal Maloney

| image3 = 150x150px

| percentage2 = 31.7%

| flag_image = File:Flag of Irvine, California.svg

| color2 = c0c0c0 | candidate2 = Barry J. Hammond

| image2 = 150x150px

| percentage1 = 57.0%

| popular_vote1 = 15,651

| color1 = c0c0c0 | candidate1 = Larry Agran

| image1 = 150x150px

| election_date = June 7, 1988

| next_year = 1990

| next_election = 1990 Irvine mayoral election

| previous_year =

| previous_election =

| ongoing = no

| type = Presidential

}}

previous_seat_year etc

{{Testcase table

| election_name = 2011 Wisconsin Supreme Court election

| country = Wisconsin

| type = presidential

| ongoing = No

| previous_election = 2009 Wisconsin Supreme Court election

| previous_year = 2009

| next_election = 2013 Wisconsin Supreme Court election

| next_year = 2013

| previous_seat_election = 2001 Wisconsin Supreme Court election

| previous_seat_year = 2001

| next_seat_election = 2020 Wisconsin Supreme Court election

| next_seat_year = 2020

| election_date = April 5, 2011

| image1 = Dave Prosser (3484692420) (3x4).jpg

| nominee1 = David Prosser, Jr.

| popular_vote1 = 752,694

| percentage1 = 50.23%

| image2 = Kloppenburg (5550956424) (1).jpg

| nominee2 = JoAnne Kloppenburg

| popular_vote2 = 745,690

| percentage2 = 49.77%

| map_image = 2011 Wisconsin Supreme Court Election.svg

| map_size = 240px

| map_caption = Prosser: {{legend0|#faca80|50–60%}} {{legend0|#f8b54d|60–70%}} {{legend0|#dd9018|70–80%}}
Kloppenburg: {{legend0|#89c1b6|50–60%}} {{legend0|#5aa899|60–70%}} {{legend0|#14836E|70–80%}}

| title = Justice

| before_election = David Prosser, Jr.

| after_election = David Prosser, Jr.

| colour2 = c0c0c0

| colour1 = c0c0c0

}}

Two-round primary

{{Testcase table

| election_name = 2021 New York City Democratic mayoral primary

| country = New York City

| type = primary

| ongoing = no

| previous_election = 2017 New York City mayoral election#Democratic primary

| previous_year = 2017

| next_election = 2025 New York City Democratic mayoral primary

| next_year = 2025

| election_date = June 22, 2021{{cite web |url=https://vote.nyc/sites/default/files/pdf/election_results/2021/20210622Primary%20Election/rcv/024306_1.html |title=DEM Mayor Citywide |publisher=New York City Board of Elections |date=July 20, 2021 |accessdate=July 20, 2021}}

| image1 = File:Nancy Pelosi and Eric Adams at the Speaker's Balcony (cropped).jpg

| image_size = 150x150px

| candidate1 = Eric Adams

| color1 = 6674DE

| first_round1 = 289,403
(30.7%)

| final_round1 = 404,513
(50.4%)

| image2 = File:Kathryn Garcia, May 1, 2021 Cropped (cropped).jpg

| candidate2 = Kathryn Garcia

| color2 = 5FD35F

| first_round2 = 184,463
(19.6%)

| final_round2 = 397,316
(49.6%)

| image3 = File:Maya Wiley 2 (cropped).jpg

| candidate3 = Maya Wiley

| color3 = F1C92A

| first_round3 = 201,193
(21.4%)

| final_round2 = Eliminated

| image4 = File:Andrew Yang by Gage Skidmore.jpg

| candidate4 = Andrew Yang

| color4 = D72F30

| first_round4 = 115,130
(12.2%)

| final_round4 = Eliminated

| image5 = File:Scott Stringer 2015.jpg

| candidate5 = Scott Stringer

| color5 = b368d9

| first_round5 = 51,778
(5.5%)

| final_round5 = Eliminated

| title = Democratic nominee

| before_election = Bill de Blasio

| after_election = Eric Adams{{cite news |last1=Matthews |first1=Karen |title=Eric Adams wins Democratic primary in NYC's mayoral race |url=https://apnews.com/article/ny-state-wire-government-and-politics-9c564828a29831747f9c2e6f52daf55e |access-date=6 July 2021 |work=Associated Press |date=6 July 2021}}

| map_image = {{switcher

|250px{{col-begin}}

{{col-5}}

Adams

{{legend|#EBF2FF|10–20%}}

{{legend|#DFEEFF|20–30%}}

{{legend|#BDD3FF|30–40%}}

{{legend|#A5B0FF|40–50%}}

{{legend|#7996E2|50–60%}}

{{legend|#6674DE|60–70%}}

{{legend|#584CDE|70–80%}}

{{legend|#3933E5|80–90%}}

{{legend|#0D0596|90–100%}}

{{col-5}}

Garcia

{{legend|#D2F7D2|10–20%}}

{{legend|#C0F0C0|20–30%}}

{{legend|#AAE5AA|30–40%}}

{{legend|#87DE87|40–50%}}

{{legend|#5FD35F|50–60%}}

{{legend|#37C837|60–70%}}

{{legend|#2CA02C|70–80%}}

{{legend|#217821|80–90%}}

{{legend|#165016|90–100%}}

{{col-5}}

Wiley

{{legend|#FFF8DD|10–20%}}

{{legend|#FFF5CC|20–30%}}

{{legend|#ffeeaa|30–40%}}

{{legend|#ffdd55|40–50%}}

{{legend|#f1c92a|50–60%}}

{{legend|#deb02a|60–70%}}

{{legend|#ce9b1e|70–80%}}

{{legend|#b98a35|80–90%}}

{{legend|#a58100|90–100%}}

{{col-5}}

Yang

{{legend|#FFF0F5|10–20%}}

{{legend|#ffe0ea|20–30%}}

{{legend|#ffc8cd|30–40%}}

{{legend|#ffb2b2|40–50%}}

{{legend|#e27f7f|50–60%}}

{{legend|#d75d5d|60–70%}}

{{legend|#d72f30|70–80%}}

{{legend|#c21b18|80–90%}}

{{legend|#a80000|90–100%}}

{{col-5}}

Stringer

{{legend|#D0F9F9|20–30%}}

{{legend|#ACF2F2|30–40%}}

{{legend|#2AACAC|60–70%}}

{{legend|#006666|90–100%}}

{{col-end}}

{{col-begin}}

{{col-5}}

Morales

{{legend|#EE8E50|60–70%}}

{{legend|#9D7700|90–100%}}

{{col-5}}

McGuire

{{legend|#CBFFED|20–30%}}

{{legend|#B4FFE5|30–40%}}

{{legend|#7EE5C1|40–50%}}

{{legend|#47CC9D|50–60%}}

{{legend|#07452F|90–100%}}

{{col-5}}

Donovan

{{legend|#280F0F|90–100%}}

{{col-5}}

Tie

{{legend|#EFE7F5|<30%}}

{{legend|#DECDE6|30–40%}}

{{legend|#D2B1D9|40–50%}}

{{legend|#AE8BB1|50%}}

{{col-5}}

No Votes

{{legend|#808080}}

{{col-end}} |First round results by Borough

|250px{{col-begin}}

{{col-5}}

Adams

{{legend|#EBF2FF|10–20%}}

{{legend|#DFEEFF|20–30%}}

{{legend|#BDD3FF|30–40%}}

{{legend|#A5B0FF|40–50%}}

{{legend|#7996E2|50–60%}}

{{legend|#6674DE|60–70%}}

{{legend|#584CDE|70–80%}}

{{legend|#3933E5|80–90%}}

{{legend|#0D0596|90–100%}}

{{col-5}}

Garcia

{{legend|#D2F7D2|10–20%}}

{{legend|#C0F0C0|20–30%}}

{{legend|#AAE5AA|30–40%}}

{{legend|#87DE87|40–50%}}

{{legend|#5FD35F|50–60%}}

{{legend|#37C837|60–70%}}

{{legend|#2CA02C|70–80%}}

{{legend|#217821|80–90%}}

{{legend|#165016|90–100%}}

{{col-5}}

Wiley

{{legend|#FFF8DD|10–20%}}

{{legend|#FFF5CC|20–30%}}

{{legend|#ffeeaa|30–40%}}

{{legend|#ffdd55|40–50%}}

{{legend|#f1c92a|50–60%}}

{{legend|#deb02a|60–70%}}

{{legend|#ce9b1e|70–80%}}

{{legend|#b98a35|80–90%}}

{{legend|#a58100|90–100%}}

{{col-5}}

Yang

{{legend|#FFF0F5|10–20%}}

{{legend|#ffe0ea|20–30%}}

{{legend|#ffc8cd|30–40%}}

{{legend|#ffb2b2|40–50%}}

{{legend|#e27f7f|50–60%}}

{{legend|#d75d5d|60–70%}}

{{legend|#d72f30|70–80%}}

{{legend|#c21b18|80–90%}}

{{legend|#a80000|90–100%}}

{{col-5}}

Stringer

{{legend|#D0F9F9|20–30%}}

{{legend|#ACF2F2|30–40%}}

{{legend|#2AACAC|60–70%}}

{{legend|#006666|90–100%}}

{{col-end}}

{{col-begin}}

{{col-5}}

Morales

{{legend|#EE8E50|60–70%}}

{{legend|#9D7700|90–100%}}

{{col-5}}

McGuire

{{legend|#CBFFED|20–30%}}

{{legend|#B4FFE5|30–40%}}

{{legend|#7EE5C1|40–50%}}

{{legend|#47CC9D|50–60%}}

{{legend|#07452F|90–100%}}

{{col-5}}

Donovan

{{legend|#280F0F|90–100%}}

{{col-5}}

Tie

{{legend|#EFE7F5|<30%}}

{{legend|#DECDE6|30–40%}}

{{legend|#D2B1D9|40–50%}}

{{legend|#AE8BB1|50%}}

{{col-5}}

No Votes

{{legend|#808080}}

{{col-end}} |First round results by Precinct

|250px{{col-begin}}

{{col-5}}

Adams

{{legend|#7996E2|50–60%}}

{{legend|#6674DE|60–70%}}

{{legend|#584CDE|70–80%}}

{{legend|#3933E5|80–90%}}

{{legend|#0D0596|90–100%}}

{{col-5}}

Garcia

{{legend|#5FD35F|50–60%}}

{{legend|#37C837|60–70%}}

{{legend|#2CA02C|70–80%}}

{{legend|#217821|80–90%}}

{{legend|#165016|90–100%}}

{{col-5}}

Tie

{{legend|#AE8BB1|50%}}

{{col-5}}

No Votes

{{legend|#808080}}

{{col-end}} |Eighth round results by Borough

|250px{{col-begin}}

{{col-5}}

Adams

{{legend|#7996E2|50–60%}}

{{legend|#6674DE|60–70%}}

{{legend|#584CDE|70–80%}}

{{legend|#3933E5|80–90%}}

{{legend|#0D0596|90–100%}}

{{col-5}}

Garcia

{{legend|#5FD35F|50–60%}}

{{legend|#37C837|60–70%}}

{{legend|#2CA02C|70–80%}}

{{legend|#217821|80–90%}}

{{legend|#165016|90–100%}}

{{col-5}}

Tie

{{legend|#AE8BB1|50%}}

{{col-5}}

No Votes

{{legend|#808080}}

{{col-end}} |Eighth round results by Precinct

|default=3}}

}}