Difference between revisions of "Template:Infobox legislative election/testcases"
Jump to navigation
Jump to search
imported>Number 57 (Embedding) |
imported>Number 57 (→Embedding: +) |
||
| 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
| This is the template test cases page for the sandbox of Template:Infobox legislative election. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Ongoing
Ongoing (first)
Finished
Finished (first)
Custom party colour
Embedding
Embedded in infobox election
| Template:Succession links | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Presidential election | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Template:Succession links | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Turnout | 63.43% ( | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
States won by López Obrador in red, Anaya in blue. | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Senate | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Template:Succession links | |||||||||||||||||||||||||||||||||||||||||||||||||||
This lists parties that won seats. See the complete results below. | |||||||||||||||||||||||||||||||||||||||||||||||||||
Chamber of Deputies | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Template:Succession links | |||||||||||||||||||||||||||||||||||||||||||||||||||
This lists parties that won seats. See the complete results below. | |||||||||||||||||||||||||||||||||||||||||||||||||||



