Templat:Infobox election/doc

Daripada Wikipedia, ensiklopedia bebas.

This infobox describes a presidential, legislative or parliamentary election.

Penggunaan[sunting sumber]

Buangkan medan-medan bagi jenis pilihan raya yang berlainan.

{{Infobox election
| election_name     = 
| country           = 
| flag_year         = 
| flag_image        = 
| type              = <!-- presidential, legislative, or parliamentary -->
| ongoing           = 
| party_colour      = 
| party_name        = 
| previous_election = 
| previous_year     = 
| previous_mps      = 
| election_date     = <!-- {{Start date|YYYY|MM|DD}} -->
| elected_mps       = 
| next_election     = 
| next_year         = 
| next_mps          = 
| seats_for_election= 
| majority_seats    =
| opinion_polls     = 
| registered        =
| turnout           = 
<!--        person 1        -->
| image1            = 
| colour1           = 
| nominee1          = <!-- presidential only, when appropriate, candidate1 can be used instead -->
| leader1           = <!-- legislative or parliamentary only-->
| party1            = 
| alliance1         = 
<!-- presidential -->
| home_state1       = 
| running_mate1     = 
| electoral_vote1   = 
| states_carried1   = 
<!-- legislative or parliamentary -->
| leader_since1     = 
| leaders_seat1     = 
| last_election1    = 
| seats_before1     = 
| seats_needed1     = 
| seats1            = 
| seats_after1      = 
| seat_change1      = 
<!-- any -->
| popular_vote1     = 
| percentage1       = 
| swing1            = <!-- legislative or parliamentary only-->
<!--        person 2        -->
| image2            = 
| colour2           = 
| nominee2          = <!-- presidential only, when appropriate, candidate2 can be used instead -->
| leader2           = <!-- legislative or parliamentary only-->
| party2            = 
| alliance2         = 
<!-- presidential -->
| home_state2       = 
| running_mate2     = 
| electoral_vote2   = 
| states_carried2   = 
<!-- legislative or parliamentary -->
| leader_since2     = 
| leaders_seat2     = 
| last_election2    = 
| seats_before2     = 
| seats_needed2     = 
| seats2            = 
| seats_after2      = 
| seat_change2      = 
<!-- any -->
| popular_vote2     = 
| percentage2       = 
| swing2            = <!-- legislative or parliamentary only-->
<!-- polls -->
| poll1_date        = 
| poll1_source      = 
| poll1_nominee1    = <!-- presidential only, when appropriate, poll1_candidate1 can be used instead -->
| poll1_party1      = <!-- legislative or parliamentary only-->
| poll1_nominee2    = <!-- presidential only, when appropriate, poll1_candidate2 can be used instead -->
| poll1_party2      = <!-- legislative or parliamentary only-->
| poll2_date        = 
| poll2_source      = 
| poll2_nominee1    = <!-- presidential only, when appropriate, poll2_candidate1 can be used instead -->
| poll2_party1      = <!-- legislative or parliamentary only-->
| poll2_nominee2    = <!-- presidential only, when appropriate, poll2_candidate2 can be used instead -->
| poll2_party2      = <!-- legislative or parliamentary only-->
<!-- auxiliary rows -->
| 1blank            = 
| 1data1            = 
| 1data2            = 
| 2blank            = 
| 2data1            = 
| 2data2            = 
<!-- map -->
| map_image         = 
| map_size          = 
| map_alt           = 
| map               = 
| map_caption       = 
<!-- bottom -->
| title             = 
| before_election   = 
| before_party      = 
| posttitle         = 
| after_election    = 
| after_party       = 
}}
*Medan bukan pilihan.
† hanya ditunjukkan jika pilihan raya itu belum berlangsung.
‡ hanya ditunjukkan jika pilihan raya itu sudah berlangsung.
Medan Jenis Perincian
election_name * Nama diberikan kepada pilihan raya. Jika medan ini dikosongkan, nama laman akan dipaparkan
country Negara di mana pilihan raya itu berlangsung.
flag_year For historical elections when an older flag design was in effect, enter the year the flag came into effect (not the election year). Default is to use the current flag.
flag_image For non-country elections, specify the full name of the flag, coat-of-arms, or seal image to display.
type * Jenis pilihan raya. Mesti salah satu daripada tiga: presiden, perundangan, atau parlimen. Perundangan selepas pilihan raya akan memaparkan parti majoriti dan minoriti , daripada memaparkan parti pertama dan kedua.
ongoing * Mesti samada ya atau tidak, whether the election is yet to take place, or completed. Fields marked with a † are only displayed if the election is yet to take place. Fields marked with a ‡ are only displayed if the election is has finished. (Default no).
party_colour Juga dieja party_color. Untuk menutupnya letakkan 'no'.
party_name To turn off linking to the parties enter 'no'.
previous_election The page name of the last election of this type.
previous_year The year the last election of this type took place.
previous_mps legislative
parliamentary
Also spelled previous_MPs or previous_members, page name for the members elected in the last election.
election_date Date of election - use {{Start date}}
elected_mps legislative
parliamentary
Wikilink to the MPs elected in this election.
next_election The page name of the next election of this type.
next_year The year the next election of this type took place.
next_mps legislative
parliamentary
Also spelled next_MPs or next_members, page name for the members elected in the next election.
seats_for_election legislative
parliamentary
The number of seats for election and the house or chamber the seats are for.
opinion_polls Pagename or section anchor of opinion polls.
registered Electorate for this election.
turnout Voter turnout for this election.
image1 Image of Nominee or Party Leader. The number can be changed up to nine to display different Nominees or Leaders at the same time. In order to work, colour1 or party1 must be entered.
colour1 Also spelt color1. Enter a hex colour code (without the #) to override the border colour of image1. The number can be changed up to nine to display different Nominees or Leaders at the same time.
nominee1 presidential Name of Nominee. When appropriate, candidate1 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.
leader1 legislative
parliamentary
Name of Party Leader. The number can be changed up to nine to display different Parties at the same time.
party1 Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.
alliance1 Political alliance in elections where coalition politics is common.
home_state1 presidential The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.
running_mate1 presidential The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.
electoral_vote1 presidential
The electoral votes obtained by the Nominee. The number can be changed up to nine to display different Nominees at the same time.
states_carried1 presidential
The states carried or won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.
leader_since1 legislative
parliamentary
The date the Leader took office. The number can be changed up to nine to display different Parties at the same time.
leaders_seat1 legislative
parliamentary
The seat the Leader represents. The number can be changed up to nine to display different Parties at the same time.
last_election1 legislative
parliamentary
The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.
seats_before1 legislative
parliamentary
The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.
seats_needed1 legislative
parliamentary
The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.
seats1 legislative
parliamentary
The seats won at the election. The number can be changed up to nine to display different Parties at the same time.
seats_after1 legislative
parliamentary
The seat count after the election. The number can be changed up to nine to display different Parties at the same time.
seat_change1 legislative
parliamentary
The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.
popular_vote1 The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.
percentage1 The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.
swing1 legislative
parliamentary
The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.
poll1_date The date of an opinion poll. The number can be changed up to five to display different polls at the same time.
poll1_source The source or ULR of the opinion poll. The number can be changed up to five to display different polls at the same time.

poll1_nominee1

poll1_nominee1 presidential
The percentage poll 1 gave to nominee 1. When appropriate, poll1_candidate1 can be used instead. The poll number can be changed up to five to display different polls at the same time. The nominee or candidate number can be changed up to nine to display different Nominees or Candidates at the same time.
poll1_party1 legislative
parliamentary
The percentage poll 1 gave to party 1. The poll number can be changed up to five to display different polls at the same time. The party number can be changed up to nine to display different Nominees at the same time.
1blank Title of an auxiliary row. The number can be changed up to six to display six extra rows.
1data1 Data 1 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.
map_image Page name for the election map file.
map_size Size of image of the election map to be displayed. (Default 300px).
map_alt Alt text for the election map.
map A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.
map_caption Caption on image of the election map to be displayed.
title Title of the leader before the election. (President, Speaker, Government, Prime Minister...)
before_election The leader in power before the election, labeled incumbent if the election is yet to take place.
before_party The party in power before the election.
posttitle Title of the victor of the election (President-elect, Prime Minister-designate...), only if different than before.
after_election The leader in power as a result of the election.
after_party The party in power as a result of the election.

Notes[sunting sumber]

The template can display up to nine parties or nominees at the same time, three per row. If exactly four are needed, use the first two on the top and bottom lines. This is done by only using the numbers 1, 2, 4 and 5 on the fields that require a number.

All the fields that work for Legislative will also work for Parliamentary. The only difference between the two is the titles above the images.

The template uses the party fields to display the party colour in the background of the images and some text. To turn this function off, input:

| party_colour      = no

To override the calling of the party short name templates, input:

| party_name        = no

To override the colour for party1 or nominee1, input:

| colour1           = [HEX OF COLOUR, MINUS #]

The hex number must be entered without the hash for the field to work. The number (colour1) can be changed up to nine for different parties or Nominees. The fields work with both spellings of the word 'color'.

Contoh[sunting sumber]

Presiden[sunting sumber]

Pilihan raya Presiden Amerika Syarikat 2004

← 2000 02 November 2004 (2004-11-02) 2008 →
 
Calon George W. Bush John Kerry
Parti Republikan Demokrat
Negeri asal Texas Massachusetts
Calon pasangan Richard B. Cheney John Edwards
Undi Elektoral
yang Dimenangi
286 251
Negeri yang
diwakili
31 19 + DC
Undian popular 62,040,610 59,028,444
Peratusan 50.7% 48.3%

Presidential election results map

President sebelum pilihan raya

George W. Bush
Republikan

Terpilih

George W. Bush
Republikan

{{Infobox election
| election_name     = United States presidential election, 2004
| country           = United States
| type              = presidential
| previous_election = United States presidential election, 2000
| previous_year     = 2000
| election_date     = {{Start date|2004|11|02}}
| next_election     = United States presidential election, 2008
| next_year         = 2008
<!-- George W. Bush -->
| image1            = [[File:George-W-Bush.jpeg|160x150px]]
| nominee1          = [[George W. Bush]]
| party1            = Republican Party (United States)
| home_state1       = [[Texas]]
| running_mate1     = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1   = 286
| states_carried1   = 31
| popular_vote1     = 62,040,610
| percentage1       = 50.7%
<!-- John Kerry -->
| image2            = [[File:John Kerry headshot with US flag.jpg|160x150px]]
| nominee2          = [[John Kerry]]
| party2            = Democratic Party (United States)
| home_state2       = [[Massachusetts]]
| running_mate2     = [[John Edwards]]
| electoral_vote2   = 251
| states_carried2   = 19 + [[Washington, D.C.|DC]]
| popular_vote2     = 59,028,444
| percentage2       = 48.3%
<!-- map -->
| map_image         = ElectoralCollege2004.svg
| map_size          = 270px
| map_caption       = Presidential election results map
<!-- bottom -->
| title             = President
| before_election   = [[George W. Bush]]
| before_party      = Republican Party (United States)
| after_election    = [[George W. Bush]]
| after_party       = Republican Party (United States)
}}

presiden semasa[sunting sumber]

Pilihan raya Presiden Amerika Syarikat 2008

← 2004 04 November 2008 (2008-11-04) 2012 →
 
Calon Hillary Clinton Barack Obama John Edwards
Parti Demokrat Demokrat Demokrat
Negeri asal New York Illinois North Carolina
Undian pendapat
2007-08-03[1] 45% 22% 9%
2007-08-01[2] 46% 23% 12%
2007-08-01[3] 44% 23% 14%
2007-07-30[4] 43% 22% 13%

 
Calon Rudy Giuliani Fred Thompson John McCain
Parti Republikan Republikan Republikan
Negeri asal New York Tennessee Arizona
Undian pendapat
2007-08-03[5] 26% 21% 11%
2007-08-01[6] 32% 20% 13%
2007-08-01[7] 33% 20% 17%
2007-07-30[8] 30% 22% 13%

Presidential electoral votes by state.

Presiden sebelum pilihan raya

George W. Bush
Republikan

Terpilih

TBD

{{Infobox election
| election_name     = Pilihan raya Presiden Amerika Syarikat 2008
| country           = United States
| type              = presidential
| ongoing           = yes
| previous_election = United States presidential election, 2004
| previous_year     = 2004
| election_date     = {{Start date|2008|11|04}}
| next_election     = Pilihan raya Presiden Amerika Syarikat 2012
| next_year         = 2012
<!-- Hillary Clinton -->
| image1            = [[File:Hillary Clinton official Secretary of State portrait crop.jpg|160x150px]]
| candidate1        = [[Hillary Rodham Clinton|Hillary Clinton]]
| party1            = Democratic Party (United States)
| home_state1       = [[New York]]
| running_mate1     = 
| electoral_vote1   = 
| states_carried1   = 
| popular_vote1     = 
| percentage1       = 
<!-- Barack Obama -->
| image2            = [[File:Official portrait of Barack Obama.jpg|160x150px]]
| candidate2        = [[Barack Obama]]
| party2            = Democratic Party (United States)
| home_state2       = [[Illinois]]
| running_mate2     = 
| electoral_vote2   = 
| states_carried2   = 
| popular_vote2     = 
| percentage2       = 
<!-- John Edwards -->
| image3            = [[File:John Edwards, official Senate photo portrait.jpg|160x150px]]
| candidate3        = [[John Edwards]]
| party3            = Democratic Party (United States)
| home_state3       = [[North Carolina]]
| running_mate3     = 
| electoral_vote3   = 
| states_carried3   = 
| popular_vote3     = 
| percentage3       = 
<!-- Rudy Giuliani -->
| image4            = [[File:Rudy Giuliani.jpg|160x150px]]
| candidate4        = [[Rudy Giuliani]]
| party4            = Republican Party (United States)
| home_state4       = [[New York]]
| running_mate4     = 
| electoral_vote4   = 
| states_carried4   = 
| popular_vote4     = 
| percentage4       = 
<!-- Fred Thompson -->
| image5            = [[File:Fred Thompson.jpg|160x150px]]
| candidate5        = [[Fred Thompson]]
| party5            = Republican Party (United States)
| home_state5       = [[Tennessee]]
| running_mate5     = 
| electoral_vote5   = 
| states_carried5   = 
| popular_vote5     = 
| percentage5       = 
<!-- John McCain -->
| image6            = [[File:John McCain official portrait 2009.jpg|160x150px]]
| candidate6        = [[John McCain]]
| party6            = Republican Party (United States)
| home_state6       = [[Arizona]]
| running_mate6     = 
| electoral_vote6   = 
| states_carried6   = 
| popular_vote6     = 
| percentage6       = 
<!-- polls -->
| poll1_date        = 2007-08-03
| poll1_source      = http://www.example.edu/poll/070803
| poll1_candidate1  = '''45%'''
| poll1_candidate2  = 22%
| poll1_candidate3  = 9%
| poll1_candidate4  = '''26%'''
| poll1_candidate5  = 21%
| poll1_candidate6  = 11%

| poll2_date        = 2007-08-01
| poll2_source      = http://www.example.edu/poll/070801
| poll2_candidate1  = '''46%'''
| poll2_candidate2  = 23%
| poll2_candidate3  = 12%
| poll2_candidate4  = '''32%'''
| poll2_candidate5  = 20%
| poll2_candidate6  = 13%

| poll3_date        = 2007-08-01
| poll3_source      = http://www.example.com/news/070801
| poll3_candidate1  = '''44%'''
| poll3_candidate2  = 23%
| poll3_candidate3  = 14%
| poll3_candidate4  = '''33%'''
| poll3_candidate5  = 20%
| poll3_candidate6  = 17%

| poll4_date        = 2007-07-30
| poll4_source      = http://www.example.com/news/070730
| poll4_candidate1  = '''43%'''
| poll4_candidate2  = 22%
| poll4_candidate3  = 13%
| poll4_candidate4  = '''30%'''
| poll4_candidate5  = 22%
| poll4_candidate6  = 13%
<!-- map -->
| map_image         = US Electoral College Map.PNG
| map_size          = 350px
| map_caption       = Presidential electoral votes by state.
<!-- bottom -->
| title             = Presiden
| before_election   = [[George W. Bush]]
| before_party      = Republican Party (United States)
| after_election    = 
| after_party       = 
}}

Legislative or parliamentary[sunting sumber]

United Kingdom general election, 2005

← 2001 05 Mei 2005 (2005-05-05) 2010 →
← List of MPs elected in the United Kingdom general election, 2001
members →

All 646 seats to the House of Commons
Tinjauan pendapat
Pengundi hadir61.4%
  Parti pertama Parti kedua Parti ketiga
 
Pemimpin Tony Blair Michael Howard Charles Kennedy
Parti Buruh Konservatif Liberal Democrats (UK)
Pemimpin sejak 21 July 1994 6 November 2003 9 August 1999
Kerusi pemimpin Sedgefield Folkestone & Hythe Ross, Skye, & Lochaber
Pilihan raya
lepas
413 seats, 40.7% 166 seats, 31.7% 52 seats, 18.3%
Kerusi sebelum 403 165 51
Kerusi yang
dimenangi
355 198 62
Perubahan kerusi -48 +33 +11
Undian popular 9,552,436 8,784,915 5,985,454
Peratusan 35.2% 32.4% 22.0%
Peralihan undi -5.5% +0.7% +3.7%

Map of United Kingdom showing constituencies won

Prime Minister sebelum pilihan raya

Tony Blair
Buruh

Terpilih

Tony Blair
Buruh

{{Infobox election
| election_name     = United Kingdom general election, 2005
| country           = United Kingdom
| type              = parliamentary
| previous_election = United Kingdom general election, 2001
| previous_year     = 2001
| previous_mps      = List of MPs elected in the United Kingdom general election, 2001
| election_date     = {{Start date|2005|05|05}}
| elected_mps       = [[List of MPs elected in the United Kingdom general election, 2005|members]]
| next_election     = United Kingdom general election, 2010
| next_year         = 2010
| next_mps          = List of MPs elected in the United Kingdom general election, 2010
| seats_for_election= All [[List of United Kingdom Parliament constituencies 2005–2010|646 seats]] to the [[House of Commons of the United Kingdom|House of Commons]]
| opinion_polls     = #Opinion polls
| turnout           = 61.4%
<!-- Labour -->
| image1            = [[File:TonyBlairBasra.JPG|160x150px]]
| leader1           = [[Tony Blair]]
| party1            = Labour Party (UK)
| leader_since1     = 21 July 1994
| leaders_seat1     = [[Sedgefield (UK Parliament constituency)|Sedgefield]]
| last_election1    = 413 seats, 40.7%
| seats_before1     = 403
| seats1            = 355
| seat_change1      = -48
| popular_vote1     = 9,552,436
| percentage1       = 35.2%
| swing1            = -5.5%
<!-- Conservative -->
| image2            = [[File:Michael Howard 1099 cropped.jpg|160x150px]]
| leader2           = [[Michael Howard]]
| party2            = Conservative Party (UK)
| leader_since2     = 6 November 2003
| leaders_seat2     = [[Folkestone and Hythe (UK Parliament constituency)|Folkestone & Hythe]]
| last_election2    = 166 seats, 31.7%
| seats_before2     = 165
| seats2            = 198
| seat_change2      = +33
| popular_vote2     = 8,784,915
| percentage2       = 32.4%
| swing2            = +0.7%
<!-- Liberal Democrats -->
| image3            = [[File:Charles Kennedy.jpg|160x150px]]
| leader3           = [[Charles Kennedy]]
| party3            = Liberal Democrats (UK)
| leader_since3     = 9 August 1999
| leaders_seat3     = [[Ross, Skye and Lochaber (UK Parliament constituency)|Ross, Skye, & Lochaber]]
| last_election3    = 52 seats, 18.3%
| seats_before3     = 51
| seats3            = 62
| seat_change3      = +11
| popular_vote3     = 5,985,454
| percentage3       = 22.0%
| swing3            = +3.7%
<!-- map -->
| map_image         = 2005UKElectionMap.svg
| map_size          = 250px
| map_caption       = Map of United Kingdom showing constituencies won
<!-- bottom -->
| title             = Prime Minister
| before_election   = [[Tony Blair]]
| before_party      = Labour Party (UK)
| after_election    = [[Tony Blair]]
| after_party       = Labour Party (UK)
}}

Perundangan atau parlimen semasa[sunting sumber]

54th United Kingdom general election

← 2005 On or before 03 Jun 2010 (2010-06-03)
← List of MPs elected in the United Kingdom general election, 2005

All 650 seats to the House of Commons
Tinjauan pendapat
  Parti pertama Parti kedua Parti ketiga
 
Pemimpin Gordon Brown David Cameron Nick Clegg
Parti Buruh Konservatif Liberal Democrats
Pemimpin sejak 24 June, 2007 6 December, 2005 18 December 2007
Kerusi pemimpin Kirkcaldy & Cowdenbeath Witney Sheffield Hallam
Pilihan raya
lepas
355 seats, 35.2% 198 seats, 32.4% 62 seats, 22.0%
Kerusi sebelum 345 193 63
Kerusi yang
diperlukan
-20 132 262

Prime Minister sebelum pilihan raya

Gordon Brown
Buruh

Terpilih

TBD

{{Infobox election
| election_name     = 54th United Kingdom general election
| country           = United Kingdom
| type              = parliamentary
| ongoing           = yes
| previous_election = United Kingdom general election, 2005
| previous_year     = 2005
| previous_mps      = List of MPs elected in the United Kingdom general election, 2005
| election_date     = On or before {{Start date|2010|06|03}}
| elected_mps       = 
| next_election     = 
| next_year         = 
| next_mps          = 
| seats_for_election= All [[List of United Kingdom Parliament constituencies|650 seats]] to the [[House of Commons of the United Kingdom|House of Commons]]
| opinion_polls     = Opinion polling for the United Kingdom general election, 2010
| turnout           = 
<!-- Labour -->
| image1            = [[File:GordonBrown1234_cropped.jpg|160x150px]]
| leader1           = [[Gordon Brown]]
| party1            = Labour Party (UK)
| leader_since1     = [[Labour Party (UK) leadership election, 2007|24 June, 2007]]
| leaders_seat1     = [[Kirkcaldy and Cowdenbeath (UK Parliament constituency)|Kirkcaldy & Cowdenbeath]]
| last_election1    = 355 seats, 35.2%
| seats_before1     = 345
| seats_needed1     = -20
| seats1            = 
| seat_change1      = 
| popular_vote1     = 
| percentage1       = 
| swing1            = 
<!-- Conservative -->
| image2            = [[File:David Cameron - World Economic Forum Annual Meeting Davos 2010.jpg|160x150px]]
| leader2           = [[David Cameron]]
| party2            = Conservative Party (UK)
| leader_since2     = [[Conservative Party (UK) leadership election, 2005|6 December, 2005]]
| leaders_seat2     = [[Witney (UK Parliament constituency)|Witney]]
| last_election2    = 198 seats, 32.4%
| seats_before2     = 193
| seats_needed2     = 132
| seats2            = 
| seat_change2      = 
| popular_vote2     = 
| percentage2       = 
| swing2            = 
<!-- Liberal Democrat -->
| image3            = [[File:Nick Clegg by the 2009 budget cropped.jpg|160x150px]]
| leader3           = [[Nick Clegg]]
| party3            = Liberal Democrats
| leader_since3     = [[Liberal Democrats leadership election, 2007|18 December 2007]]
| leaders_seat3     = [[Sheffield Hallam (UK Parliament constituency)|Sheffield Hallam]]
| last_election3    = 62 seats, 22.0%
| seats_before3     = 63
| seats_needed3     = 262
| seats3            = 
| seat_change3      = 
| popular_vote3     = 
| percentage3       = 
| swing3            = 
<!-- map -->
| map_image         = 
| map_size          = 
| map_caption       = 
<!-- bottom -->
| title             = Prime Minister
| before_election   = [[Gordon Brown]]
| before_party      = Labour Party (UK)
| after_election    = 
| after_party       = 
}}

Mikroformat[sunting sumber]

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).

URLs will only be included if you use {{URL}}.

hCalendar uses HTML classes including:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

Please do not rename or remove these classes; nor collapse nested elements which use them.

Nota: Jika tiada tarikh dimasukkan, maka mikroformat ini ridak dikeluarkan.