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

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(add first)
imported>Izkala
(test |colourX=)
Line 417: Line 417:
 
| map_upright = 1.4
 
| map_upright = 1.4
 
| map_caption = Colours denote the winning party, as shown in the main table of results
 
| map_caption = Colours denote the winning party, as shown in the main table of results
 +
 +
| title = [[Prime Minister of the United Kingdom|Prime Minister]]
 +
| before_image = [[File:David Cameron official.jpg|x65px]]
 +
| before_election = [[David Cameron]]
 +
| before_party = [[Conservative Party (UK)|Conservative Party]]
 +
| after_image = [[File:Ed Miliband 2.jpg|x65px]]
 +
| after_election = [[Ed Miliband]]
 +
| after_party = [[Labour Party (UK)|Labour Party]]
 +
}}
 +
 +
==Custom party colour==
 +
 +
{{Testcase table
 +
| election_name    = British general election, 2015
 +
| country          = United Kingdom
 +
| previous_election = [[United Kingdom general election, 2010|2010]]
 +
| next_election    = [[United Kingdom general election, 2020|2020]]
 +
| election_date    = 7 May 2015
 +
| ongoing          = no
 +
| first_election    = yes
 +
 +
| party1 = [[Labour Party (UK)]]
 +
| party_leader1 = [[Ed Miliband]]
 +
| seats1 = 170
 +
| seats1_before = 256
 +
| votes1 =
 +
| percentage1 = 26.1
 +
| percentage1_before = 22.1
 +
| colour1 = pink
  
 
| title = [[Prime Minister of the United Kingdom|Prime Minister]]
 
| title = [[Prime Minister of the United Kingdom|Prime Minister]]

Revision as of 18:47, 23 May 2016

Ongoing

Template:Testcase table

Ongoing (first)

Template:Testcase table

Finished

Template:Testcase table

Finished (first)

Template:Testcase table

Custom party colour

Template:Testcase table