Difference between revisions of "Template:Infobox legislative election/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Number 57
(Embedding)
imported>Number 57
 
Line 521: Line 521:
 
| after_election = [[Ed Miliband]]
 
| after_election = [[Ed Miliband]]
 
| after_party = [[Labour Party (UK)|Labour Party]]
 
| after_party = [[Labour Party (UK)|Labour Party]]
 +
}}
 +
}}
 +
}}
 +
 +
===Embedded in infobox election===
 +
{{Infobox election
 +
| election_name = 2018 Mexican general election
 +
| country = Mexico
 +
| election_date = 1 July 2018
 +
 +
| module = {{Infobox election
 +
| embed = yes
 +
| election_name = Presidential election
 +
| turnout = 63.43% ({{increase}} 0.35%)
 +
| previous_election = 2012 Mexican general election
 +
| previous_year = 2012
 +
| next_election = 2024 Mexican general election
 +
| next_year = 2024
 +
 +
| image1 = [[File:Reunión con el Presidente Electo, Andrés Manuel López Obrador 8 (cropped).jpg|center|150x150px]]
 +
| candidate1 = [[Andrés Manuel López Obrador]]
 +
| party1 = National Regeneration Movement
 +
| alliance1 = ''[[Juntos Haremos Historia]]''
 +
| home_state1 = [[Tabasco]]
 +
| popular_vote1 = '''30,113,483'''
 +
| states_carried1 = '''30+[[Mexico City|CDMX]]'''
 +
| percentage1 = '''53.19%'''
 +
| image2 = [[File:Ricardo Anaya (cropped 2).jpg|center|150x150px]]
 +
| candidate2 = [[Ricardo Anaya]]
 +
| party2 = National Action Party (Mexico)
 +
| alliance2 = ''[[Por México al Frente]]''
 +
| home_state2 = [[Querétaro]]
 +
| popular_vote2 = 12,610,120
 +
| percentage2 = 22.28%
 +
| states_carried2 = 1
 +
| image4 = [[File:Mexican Foreign Minister José Antonio Meade (16295258100) (cropped).jpg|center|150x150px]]
 +
| candidate4 = [[José Antonio Meade]]
 +
| party4 = Institutional Revolutionary Party
 +
| alliance4 = ''[[Todos por México]]''
 +
| home_state4 = [[Mexico City]]
 +
| popular_vote4 = 9,289,853
 +
| percentage4 = 16.41%
 +
| image5 = [[File:Reunión con el Gobernador Electo de Nuevo León, Jaime Rodríguez. (cropped).jpg|center|150x150px]]
 +
| candidate5 = [[Jaime Rodríguez Calderón]]
 +
| party5 = Independent politician
 +
| alliance5 = ''None''
 +
| home_state5 = [[Nuevo León]]
 +
| color5 = 7D2181
 +
| popular_vote5 = 2,961,732
 +
| percentage5 = 5.23%
 +
 +
| map_image = File:Mexico general election 2018.svg
 +
| map_size = 350px
 +
| map_caption = States won by López Obrador in red, Anaya in blue.
 +
| title = President
 +
| before_election = [[Enrique Peña Nieto]]
 +
| before_party = Institutional Revolutionary Party
 +
| after_party = National Regeneration Movement
 +
| after_election = [[Andrés Manuel López Obrador]]
 +
 +
| module = {{Infobox legislative election/sandbox
 +
| embed = yes
 +
| election_name = Senate
 +
| previous_election = [[2012 Mexican general election|2012]]
 +
| next_election = [[2024 Mexican general election|2024]]
 +
 +
| party1 = National Regeneration Movement | leader1 = [[Andrés Manuel López Obrador]] | percentage1 = 37.50 | seats1 = 55 | last_election1 = new
 +
| party2 = National Action Party (Mexico) | leader2 = [[Ricardo Anaya]] | percentage2 = 17.59 | seats2 = 23 | last_election2 = 38
 +
| party3 = Institutional Revolutionary Party | leader3 = [[José Antonio Meade]] | percentage3 = 15.90 | seats3 = 13 | last_election3 = 57
 +
| party4 = Party of the Democratic Revolution | leader4 = [[Manuel Granados Covarrubias]] | percentage4 = 5.27 | seats4 = 8 | last_election4 = 23
 +
| party5 = Citizens' Movement (Mexico) | leader5 = [[Dante Delgado Rannauro]] | percentage5 = 4.68 | seats5 = 7 | last_election5 = 1
 +
| party6 = Ecologist Green Party of Mexico | leader6 = {{nowrap|[[Jorge Emilio González Martínez]]}} | percentage6 = 4.46 | seats6 = 7 | last_election6 = 4
 +
| party7 = Labor Party (Mexico) | leader7 = [[Alberto Anaya]] | percentage7 = 3.82 | seats7 = 6 | last_election7 = 4
 +
| party8 = Social Encounter Party | leader8 = [[Hugo Eric Flores Cervantes]] | percentage8 = 2.33 | seats8 = 8 | last_election8 = new
 +
| party9 = New Alliance Party (Mexico) | leader9 = [[Luis Castro Obregón]] | percentage9 = 2.31 | seats9 = 1 | last_election9 = 1
 +
 +
| module = {{Infobox legislative election/sandbox
 +
| embed = yes
 +
 +
| election_name = Chamber of Deputies
 +
| previous_election = [[2015 Mexican legislative election|2015]]
 +
| next_election = [[2021 Mexican legislative election|2021]]
 +
 +
| party1 = National Regeneration Movement | leader1 = [[Andrés Manuel López Obrador]] | percentage1 = 37.25 | seats1 = 189 | last_election1 = 35
 +
| party2 = National Action Party (Mexico) | leader2 = [[Ricardo Anaya]] | percentage2 = 17.93 | seats2 = 83 | last_election2 = 108
 +
| party3 = Institutional Revolutionary Party | leader3 = [[José Antonio Meade]] | percentage3 = 16.54 | seats3 = 45 | last_election3 = 203
 +
| party4 = Party of the Democratic Revolution | leader4 = [[Manuel Granados Covarrubias]] | percentage4 = 5.27 | seats4 = 21 | last_election4 = 56
 +
| party5 = Ecologist Green Party of Mexico | leader5 = {{nowrap|[[Jorge Emilio González Martínez]]}} | percentage5 = 4.79 | seats5 = 16 | last_election5 = 47
 +
| party6 = Citizens' Movement (Mexico) | leader6 = [[Dante Delgado Rannauro]] | percentage6 = 4.41 | seats6 = 27 | last_election6 = 26
 +
| party7 = Labor Party (Mexico) | leader7 = [[Alberto Anaya]] | percentage7 = 3.93 | seats7 = 61 | last_election7 = 6
 +
 +
| map = 2018 Mexican general election - Chamber of Deputies.svg
 +
}}
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}

Latest revision as of 17:12, 18 September 2020

Ongoing

Template:Testcase table

Ongoing (first)

Template:Testcase table

Finished

Template:Testcase table

Finished (first)

Template:Testcase table

Custom party colour

Template:Testcase table

Embedding

Template:Testcase table

Embedded in infobox election

2018 Mexican general election

Template:Succession links
 

 

 
Presidential election
Template:Succession links
Turnout63.43% (Increase 0.35%)
 
Reunión con el Presidente Electo, Andrés Manuel López Obrador 8 (cropped).jpg
Ricardo Anaya (cropped 2).jpg
Candidate Andrés Manuel López Obrador Ricardo Anaya
Party National Regeneration Movement National Action Party (Mexico)
Alliance Juntos Haremos Historia Por México al Frente
Popular vote 30,113,483 12,610,120
Percentage 53.19% 22.28%

 
Mexican Foreign Minister José Antonio Meade (16295258100) (cropped).jpg
Reunión con el Gobernador Electo de Nuevo León, Jaime Rodríguez. (cropped).jpg
Candidate José Antonio Meade Jaime Rodríguez Calderón
Party PRI Independent
Alliance Todos por México None
Popular vote 9,289,853 2,961,732
Percentage 16.41% 5.23%

 

Mexico general election 2018.svg
States won by López Obrador in red, Anaya in blue.

President before election

Enrique Peña Nieto
PRI

Elected President

Andrés Manuel López Obrador
National Regeneration Movement

Senate

Template:Succession links
Party Leader % Seats ±
National Regeneration Movement Script error: No such module "If empty". 37.50 55 Template:PNsign
National Action Party (Mexico) Script error: No such module "If empty". 17.59 23 Template:PNsign
PRI Script error: No such module "If empty". 15.90 13 Template:PNsign
Party of the Democratic Revolution Script error: No such module "If empty". 5.27 8 Template:PNsign
MC Script error: No such module "If empty". 4.68 7 Template:PNsign
Green Script error: No such module "If empty". 4.46 7 Template:PNsign
PT Script error: No such module "If empty". 3.82 6 Template:PNsign
Social Encounter Party Script error: No such module "If empty". 2.33 8 Template:PNsign
New Alliance Party (Mexico) Script error: No such module "If empty". 2.31 1 Template:PNsign
This lists parties that won seats. See the complete results below.
Chamber of Deputies

Template:Succession links
Party Leader % Seats ±
National Regeneration Movement Script error: No such module "If empty". 37.25 189 Template:PNsign
National Action Party (Mexico) Script error: No such module "If empty". 17.93 83 Template:PNsign
PRI Script error: No such module "If empty". 16.54 45 Template:PNsign
Party of the Democratic Revolution Script error: No such module "If empty". 5.27 21 Template:PNsign
Green Script error: No such module "If empty". 4.79 16 Template:PNsign
MC Script error: No such module "If empty". 4.41 27 Template:PNsign
PT Script error: No such module "If empty". 3.93 61 Template:PNsign
This lists parties that won seats. See the complete results below.
2018 Mexican general election - Chamber of Deputies.svg