Tagagamit:Nickrds09/Gawaan
Nickrds09/Gawaan | ||||
---|---|---|---|---|
This infobox describes a presidential, legislative or parliamentary election.
Usage
baguhin{{Infobox Election | election_name = | country = | flag_year = | type = | ongoing = | party_colour = | previous_election = | previous_year = | next_election = | next_year = | seats_for_election = | election_date = <!-- {{Start date|YYYY|MM|DD}} --> | turnout = | image1 = | colour1 = | nominee1 = | leader1 = | leader_since1 = | party1 = | alliance1 = | home_state1 = | leaders_seat1 = | running_mate1 = | last_election1 = | seats_before1 = | seats_needed1 = | electoral_vote1 = | states_carried1 = | seats1 = | seats_after1 = | seat_change1 = | popular_vote1 = | percentage1 = | swing1 = | image2 = | colour2 = | nominee2 = | leader2 = | leader_since2 = | party2 = | alliance2 = | home_state2 = | leaders_seat2 = | running_mate2 = | last_election2 = | seats_before2 = | seats_needed2 = | electoral_vote2 = | states_carried2 = | seats2 = | seats_after2 = | seat_change2 = | popular_vote2 = | percentage2 = | swing2 = | poll1_date = | poll1_source = | poll1_nominee1 = | poll1_party1 = | poll2_date = | poll2_source = | poll2_nominee1 = | poll2_party1 = | poll1_date = | poll1_source = | poll1_nominee2 = | poll1_party2 = | poll2_date = | poll2_source = | poll2_nominee2 = | poll2_party2 = | map_image = | map_size = | map_caption = | title = | posttitle = | before_election = | before_colour = | after_election = | after_colour = | before_party = | after_party = | result = | '''Minor Candidates''' | candidate1 = | candidate2 = | candidate3 = | candidate4 = | candidate5 = | party1 = | party2 = | party3 = | party4 = | party5 = | votes1 = | votes2 = | votes3 = | votes4 = | votes5 = }}
- *Non-optional fields.
- † only displayed if the election is ongoing.
- ‡ only displayed if the election has finished.
Field | Type | Description |
---|---|---|
election_name | * | Name given to the election. If this field is left empty the page name is displayed |
country | Country where the election took place. | |
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. | |
type | * | The type of election. Must be one of three: presidential, legislative, parliamentary. |
ongoing | * | Must be either yes or no, whether the election is ongoing or completed. Fields marked with a † are only displayed if the election is ongoing. Fields marked with a ‡ are only displayed if the election is has finished. (Default no). |
party_colour | Also spelled party_color. To turn off the party colours 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 | The MPs elected in the last 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 | The MPs elected in the next election. |
seats_for_election | legislative | The number of seats for election and the house or chamber the seats are for. |
election_date | Date of election - use {{Start date}} | |
image1 | Image of Nominee or Party Leader. The number can be changed up to six to display different Nominees or Leaders at the same time. | |
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 six 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 six to display different Nominees at the same time. |
leader1 | legislative | Name of Party Leader. The number can be changed up to six to display different Parties at the same time. |
leader_since1 | legislative | The date the Leader took office. The number can be changed up to six to display different Parties at the same time. |
party | Political Party using Political party shortname templates. | |
alliance | Political alliance in elections where coalition politics is common. | |
home_state1 | presidential | The state the Nominee represents. The number can be changed up to six to display different Nominees at the same time. |
leaders_seat1 | legislative | The seat the Leader represents. The number can be changed up to six to display different Parties at the same time. |
running_mate1 | presidential | The Nominee's Running mate. The number can be changed up to six to display different Nominees at the same time. |
last_election1 | legislative | The seat count and percentage of the vote received at the previous election. The number can be changed up to six to display different Parties at the same time. |
seats_before1 | legislative | The seat count before the election. The number can be changed up to six to display different Parties at the same time. |
electoral_vote1 | presidential‡ | The electoral votes obtained by the Nominee. The number can be changed up to six 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 six to display different Nominees at the same time. |
seats1 | legislative‡ | The seats won at the election. The number can be changed up to six to display different Parties at the same time. |
seats_after1 | legislative | The seat count after the election. The number can be changed up to six to display different Parties at the same time. |
seat_change1 | legislative‡ | The change in the number of seats won at the election compared to the previous election. The number can be changed up to six 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 six 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 six to display different Nominees or Parties at the same time. |
swing1 | legislative‡ | The swing or change in popular vote at the election compared to the pervious election. The number can be changed up to six to display different Parties at the same time. |
seats_needed1 | legislative† | The seats required to gain an overall majority. The number can be changed up to six to display different Parties at the same time. |
poll1_date | † | The date of the 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. The poll number can be changed up to five to display different polls at the same time. The nominee number can be changed up to six to display different Nominees at the same time. |
poll1_party1 | presidential† | 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 six to display different Nominees at the same time. |
map_image | Image of the election map. | |
map_size | Size of image of the election map to be displayed. (Default 300px). | |
map_caption | Caption on image of the election map to be displayed. | |
title | ‡ | Title decided by the election. (President, Speaker, Government, Prime Minister...) |
posttitle | ‡ | Title of the victor of the election (President-elect, Prime Minister-designate, successor, …). If not used, then {{{title}}}-elect will be used. |
before_election | ‡ | The President, Speaker, Government or Prime Minister in power before the election. |
before_colour | ‡ | Also spelt before_color. Enter a hex colour code (without the #) to override the font colour of before_election. |
after_election | ‡ | The President, Speaker, Government or Prime Minister in power as a result of the election. |
after_colour | ‡ | Also spelt after_color. Enter a hex colour code (without the #) to override the font colour of after_election. |
before_party | ‡ | The party in power before the election. |
after_party | ‡ | The party in power as a result of the election. |
result | ‡ | Parliamentary or electoral college majority |
Notes
baguhinThe template can display up to six parties or Nominees at the same time, three on the top row and three on the bottom row. If only 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 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 six for different parties or Nominees. The fields work with both spellings of the word 'colour'.
Examples
baguhinPresidential
baguhin
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Presidential election results map. Red denotes states won by Bush/Cheney (31), Blue denotes those won by Kerry/Edwards (19+DC). Light blue is the electoral vote for "John Edwards" (sic) by an undetermined Minnesota "faithless elector". Numbers indicate the number of electoral votes allotted to each state. | |||||||||||||||||||||||||||||
|
{{Infobox Election | election_name = United States presidential election, 2004 | country = United States | type = presidential | ongoing = no | previous_election = United States presidential election, 2000 | previous_year = 2000 | next_election = United States presidential election, 2008 | next_year = 2008 | election_date = {{Start date|2004|11|02}} <!-- George W. Bush --> | image1 = [[image:George-W-Bush.jpeg|150px]] | 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 = [[image:John Kerry headshot with US flag.jpg|130px]] | 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,111 | percentage2 = 48.3% | map_image = US presidential election 2004 map.svg | map_size = 350px | map_caption = Presidential election results map. | title = President | before_election = [[George W. Bush]] | before_party = Republican Party (United States) | after_election = [[George W. Bush]] | after_party = Republican Party (United States) }}
Ongoing presidential
baguhin
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Presidential electoral votes by state. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{{Infobox Election | election_name = United States presidential election, 2008 | country = United States | type = presidential | ongoing = yes | previous_election = United States presidential election, 2004 | previous_year = 2004 | next_election = <!-- United States presidential election, 2012 --> | next_year = 2012 | election_date = {{Start date|2008|11|04}} <!-- Hillary Rodham Clinton --> | image1 = [[image:Hillary Rodham Clinton.jpg|125px]] | 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 = [[image:Sen._Barack_Obama_smiles.jpg|125px]] | candidate2 = [[Barack Obama]] | party2 = Democratic Party (United States) | home_state2 = [[Illinois]] | running_mate2 = | electoral_vote2 = | states_carried2 = | popular_vote2 = | percentage2 = <!-- John Edwards --> | image3 = [[image:John Edwards, official Senate photo portrait.jpg|125px]] | candidate3 = [[John Edwards]] | party3 = Democratic Party (United States) | home_state3 = [[North Carolina]] | running_mate3 = | electoral_vote3 = | states_carried3 = | popular_vote3 = | percentage3 = <!-- Rudy Giuliani --> | image4 = [[image:Rudy Giuliani.jpg|125px]] | candidate4 = [[Rudy Giuliani]] | party4 = Republican Party (United States) | home_state4 = [[New York]] | running_mate4 = | electoral_vote4 = | states_carried4 = | popular_vote4 = | percentage4 = <!-- Fred Thompson --> | image5 = [[image:Fred Thompson.jpg|110px]] | candidate5 = [[Fred Thompson]] | party5 = Republican Party (United States) | home_state5 = [[Tennessee]] | running_mate5 = | electoral_vote5 = | states_carried5 = | popular_vote5 = | percentage5 = <!-- John McCain --> | image6 = [[image:John McCain official photo portrait.JPG|125px]] | 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.rasmussenreports.com/public_content/politics/election_2008__1/daily_presidential_tracking_polling_history | 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.msnbc.msn.com/id/20109634/site/newsweek/ | poll2_candidate1 = '''46%''' | poll2_candidate2 = 23% | poll2_candidate3 = 12% | poll2_candidate4 = '''32%''' | poll2_candidate5 = 20% | poll2_candidate6 = 13% <!-- Seperate Polls for Dems and GOP --> | poll3_date1 = [[2007-08-01]] | poll3_source1 = http://www.pollingreport.com/wh08dem.htm | poll3_candidate1 = '''44%''' | poll3_candidate2 = 23% | poll3_candidate3 = 14% | poll3_date2 = [[2007-08-01]] | poll3_source2 = http://www.pollingreport.com/wh08rep.htm | poll3_candidate4 = '''33%''' | poll3_candidate5 = 20% | poll3_candidate6 = 17% | poll4_date1 = [[2007-07-30]] | poll4_source1 = http://www.pollingreport.com/wh08dem.htm | poll4_candidate1 = '''43%''' | poll4_candidate2 = 22% | poll4_candidate3 = 13% | poll4_date2 = [[2007-07-30]] | poll4_source2 = http://www.pollingreport.com/wh08rep.htm | poll4_candidate4 = '''30%''' | poll4_candidate5 = 22% | poll4_candidate6 = 13% | map_image = US Electoral College Map.PNG | map_size = 350px | map_caption = Presidential electoral votes by state. | title = President | before_election = [[George W. Bush]] | before_party = Republican Party (United States) | after_election = | after_party = }}
Legislative or parliamentary
baguhin
| |||||||||||||||||||||||||||||||||||||||||||||
All 646 seats to the House of Commons | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||
|
{{Infobox Election | election_name = United Kingdom general election, 2005 | country = United Kingdom | type = parliamentary | ongoing = no | previous_election = United Kingdom general election, 2001 | previous_year = 2001 | previous_mps = MPs elected in the United Kingdom general election, 2001 | next_election = Next United Kingdom general election | next_year = Next | next_mps = MPs elected in the United Kingdom general election, 2009/10 | seats_for_election = All 646 seats to the [[British House of Commons|House of Commons]] | election_date = {{Start date|2005|05|05}} <!-- Labour --> | image1 = | leader1 = [[Tony Blair]] | leader_since1 = 21 July 1994 | party1 = Labour Party (UK) | leaders_seat1 = [[Sedgefield (UK Parliament constituency)|Sedgefield]] | last_election1 = 412 seats, 40.7% | seats1 = 356 | seat_change1 = -56 | popular_vote1 = 9,562,122 | percentage1 = 35.3% | swing1 = -5.5% <!-- Conservative --> | image2 = [[Image:Michael Howard.jpg|120px]] | leader2 = [[Michael Howard]] | leader_since2 = 6 November 2003 | party2 = Conservative Party (UK) | leaders_seat2 = [[Folkestone and Hythe (UK Parliament constituency)|Folkestone and Hythe]] | last_election2 = 166 seats, 31.7% | seats2 = 198 | seat_change2 = +33 | popular_vote2 = 8,772,598 | percentage2 = 32.3% | swing2 = +0.6% <!-- Liberal Democrats --> | image3 = [[Image:Charles Peter Kennedy.jpg|120px]] | leader3 = [[Charles Kennedy]] | leader_since3 = 9 August 1999 | party3 = Liberal Democrats (UK) | leaders_seat3 = [[Ross, Skye and Lochaber (UK Parliament constituency)|Ross, Skye and Lochaber]] | last_election3 = 52 seats, 18.3% | seats3 = 62 | seat_change3 = +11 | popular_vote3 = 5,981,874 | percentage3 = 22.1% | swing3 = +3.7% | title = PM | before_election = [[Tony Blair]] | before_party = Labour Party (UK) | after_election = [[Tony Blair]] | after_party = Labour Party (UK) }}
Ongoing legislative or parliamentary
baguhinAll 650 seats to the House of Commons | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||
|
{{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= MPs elected in the United Kingdom general election, 2005 | next_election = <!-- 55th United Kingdom general election --> | next_year = Next | next_mps= <!-- MPs elected in the United Kingdom general election, 55th --> | seats_for_election = All 650 seats to the [[British House of Commons|House of Commons]] | election_date = <!-- Labour --> | image1 = | leader1 = [[Gordon Brown]] | leader_since1 = 24 June 2007 | party1 = Labour Party (UK) | leaders_seat1 = [[Kirkcaldy and Cowdenbeath (UK Parliament constituency)|Kirkcaldy and Cowdenbeath]] | last_election1 = 356 seats, 35.3% | seats_needed1 = -64 | states_carried1 = | seats1 = | seat_change1 = | popular_vote1 = | percentage1 = | swing1 = <!-- Conservative --> | image2 = [[image:Davidcameron.jpg|120px]] | leader2 = [[David Cameron]] | leader_since2 = 6 December 2005 | party2 = Conservative Party (UK) | leaders_seat2 = [[Witney (UK Parliament constituency)|Witney]] | last_election2 = 198 seats, 32.3% | seats_needed2 = +131 | states_carried2 = | seats2 = | seat_change2 = | popular_vote2 = | percentage2 = | swing2 = <!-- Liberal Democrats --> | image3 = | leader3 = [[Nick Clegg]] | leader_since3 = 18 December 2007 | party3 = Liberal Democrats | leaders_seat3 = [[Sheffield Hallam (UK Parliament constituency)|Sheffield Hallam]] | last_election3 = 62 seats, 22% | seats_needed3 = +264 | states_carried3 = | seats3 = | seat_change3 = | popular_vote3 = | percentage3 = | swing3 = <!-- Polls --> | poll1_date = [[2007-07-29]] | poll1_source = http://www.ukpollingreport.co.uk/blog/voting-intention/populus/ | poll1_party1 = '''39%''' | poll1_party2 = 33% | poll1_party3 = 15% | poll2_date = [[2007-07-25]] | poll2_source = http://www.ukpollingreport.co.uk/blog/voting-intention/yougov/ | poll2_party1 = '''41%''' | poll2_party2 = 32% | poll2_party3 = 16% | poll3_date = [[2007-07-22]] | poll3_source = http://www.ukpollingreport.co.uk/blog/voting-intention/populus/ | poll3_party1 = '''38%''' | poll3_party2 = 32% | poll3_party3 = 20% | poll4_date = [[2007-07-17]] | poll4_source = http://www.ukpollingreport.co.uk/blog/voting-intention/mori/ | poll4_party1 = '''41%''' | poll4_party2 = 35% | poll4_party3 = 15% | title = PM | before_election = [[Gordon Brown]] | before_party = Labour Party (UK) | after_election = | after_party = }}
Microformat
baguhinThe 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.
Sub-templates
baguhinDates 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}}.
Please do not remove instances of these sub-templates.
Classes
baguhinhCalendar 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.
Note: If no date is entered, then the microformat is not emitted.