Difference between revisions of "Template:Infobox legislative election/testcases"
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
| 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: |