2017 United Kingdom general election

{{Infobox election
 * election_name     = 2017 United Kingdom general election
 * country           = United Kingdom
 * type              = parliamentary
 * previous_election = 2015 United Kingdom general election
 * previous_year     = 2015
 * outgoing_members  = List of MPs elected in the 2015 United Kingdom general election
 * next_election     = 2022 United Kingdom general election
 * next_year         = 2022
 * elected_members   = List of MPs elected in the 2017 United Kingdom general election
 * seats_for_election = All 650 seats to the House of Commons
 * majority_seats    = 326
 * elected_mps       = Members elected
 * election_date     = 8 June 2017
 * turnout           = 68.8% ({{increase}2.4%)
 * opinion_polls     = Opinion polling for the 2017 United Kingdom general election


 * image1         = Official_portrait_of_Jeremy_Corbyn_crop_3,_2020.jpg
 * leader1        = Jeremy Corbyn
 * leader_since1  = 12 September 2015
 * party1         = Labour Party (UK)
 * leaders_seat1  = Islington North
 * last_election1 = 232 seats, 30.4%
 * seats1         = 331
 * seat_change1   = {{increase}}99
 * popular_vote1  = 13,039,567
 * percentage1    = 42.9%
 * swing1         = {{increase}}12.5%


 * image2         = Major PM full (cropped).jpg
 * leader2        = John Major
 * leader_since2  = 4 July 1995
 * party2         = Conservative Party (UK)
 * leaders_seat2  = Huntingdon
 * last_election2 = 336 seats, 41.9%
 * seats2         = 165
 * seat_change2   = {{decrease}}171
 * popular_vote2  = 9,600,943
 * percentage2    = 30.7%
 * swing2         = {{decrease}}11.2%


 * image3         = ASHDOWN Paddy.jpg
 * leader3        = Paddy Ashdown
 * leader_since3  = 16 July 1988
 * party3         = Liberal Democrats (UK)
 * leaders_seat3  = Yeovil
 * last_election3 = 20 seats, 17.8%
 * seats3         = 46
 * seat_change3   = {{increase}}26
 * popular_vote3  = 5,242,947
 * percentage3    = 16.8%
 * swing3         = {{decrease}}1.0%


 * map_image      = UK General Election, 1997.svg
 * map_size       = 370px
 * map_caption    = Colours denote the winning party, as shown in the main table of results.

}}
 * title          = Prime Minister
 * posttitle      = Prime Minister after election
 * before_election = John Major
 * before_party   = Conservative Party (UK)
 * after_election = Tony Blair
 * after_party    = Labour Party (UK)