*Non-optional fields. † only displayed if the election is ongoing. ‡ only displayed if the election has finished.
Field
Type
Description
election_name
*
Nama yang diberikan kepada pilihan raya tersebut. Jika medan in dibiarkan kosong, maka nama muka surat ini dipaparkan
country
*
Negara di mana pilihan raya ini diadakan.
type
*
Jenis pilihan raya. Mesti terdiri daripada salah satu daripada tiga: presiden, legislatif, parlimen.
ongoing
*
Mesti sama ada ya atau tidak, sama ada pilihan raya ini sedang berlangsung atau sudah tamat/sempurna. Medan yang ditandakan dengan satu † hanya dipaparkan jika pilihan raya ini sedang berlangsung. Medan yang ditandakan dengan satu ‡ hanya dipaparkan jika pilihan raya ini sudah tamat. (Default no).
party_colour
Juga dieja sebagai party_color. Untuk menutup warna parti masukkan 'tidak'.
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.
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.
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.
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.
seat_change1
legislative‡
The change in the number of seats won at the election compared to the pervious 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...)
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.
The 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.
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'.
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.