<templatedata>
{
"description": "An infobox for elections.",
"format": "block",
"params": {
"election_name": {
"label": "Name",
"description": "Name given to the election.",
"type": "string",
"required": false,
"example": "2012 United States Senate election in Nevada",
"autovalue": ""
},
"country": {
"label": "Country",
"description": "Country where the election took place.",
"type": "string",
"required": false
},
"flag_year": {
"label": "Flag year",
"description": "For historical elections when an older flag design was in effect, enter the year the flag came into effect (not the election year).",
"type": "string",
"default": "current flag",
"required": false
},
"flag_image": {
"label": "Flag image",
"description": "For non-country elections, specify the full name of the flag, coat-of-arms, or seal image to display.",
"type": "string",
"required": false
},
"type": {
"label": "Type",
"description": "The type of election. Must be one of five: presidential, primary, legislative, parliamentary or by-election. The type \"Presidential\" lists nominee's names; legislative will not. Legislative after the election will display majority and minority party, rather than first and second party.",
"type": "string",
"required": false,
"example": "'presidential', 'primary', 'legislative', 'parliamentary', 'by-election'",
"autovalue": "presidential"
},
"vote_type": {
"label": "Vote type",
"description": "The type of votes recorded at popular_voten",
"type": "string",
"default": "popular",
"required": false
},
"ongoing": {
"label": "Ongoing?",
"description": "Must be either 'yes' or 'no', whether the election is yet to take place, or completed. 'no' means the election has concluded and results have been declared; 'yes' means the election has yet to occur and be called.",
"type": "string",
"default": "no",
"example": "'no', 'yes'",
"required": false
},
"party_colour": {
"label": "Show party colours?",
"description": "To turn off the party colours enter 'no'.",
"type": "string",
"required": false,
"aliases": [
"party_color"
],
"example": "no"
},
"party_name": {
"label": "Link to parties?",
"description": "To turn off linking to the parties, enter 'no'.",
"type": "string",
"required": false,
"example": "no"
},
"alliance_name": {
"label": "Link to alliances?",
"description": "To turn off linking to the alliances, enter 'no'.",
"type": "string",
"required": false,
"example": "no"
},
"previous_election": {
"label": "Previous election",
"description": "The page name of the last election of this type.",
"type": "wiki-page-name",
"required": false,
"example": "2000 United States presidential election"
},
"previous_year": {
"label": "Previous year",
"description": "The year the last election of this type took place.",
"type": "number",
"required": false,
"example": "2000"
},
"outgoing_members": {
"label": "Outgoing members",
"description": "The page name of the legislative term (typically including a list of members) serving between the previous election and this election. Can either be a page title or a wiki link.",
"type": "string",
"required": false
},
"election_date": {
"label": "Election date",
"description": "Date of election - use .",
"type": "wiki-template-name",
"example": "",
"required": false,
"suggested": true
},
"elected_members": {
"label": "Elected members",
"description": "The page name of the legislative term (typically including a list of members) serving between this election and the next election. Can either be a page title or a wiki link.",
"type": "string",
"required": false
},
"next_election": {
"label": "Next election",
"description": "The page name of the next election of this type. If red link (it doesn't exist), then it will appear unlinked.",
"type": "wiki-page-name",
"required": false,
"example": "2008 United States presidential election"
},
"next_year": {
"label": "Next year",
"description": "The year the next election of this type took place.",
"type": "number",
"required": false,
"example": "2008"
},
"votes_for_election": {
"label": "Votes for election",
"description": "The number of votes for election and the system of voting (eg. Electoral College).",
"type": "content",
"required": false,
"example": "All 538 electoral votes of the Electoral College"
},
"needed_votes": {
"label": "Needed votes",
"description": "The number of votes required to win. If there is an even number of votes, use the number that is said by the media.",
"type": "string",
"required": false,
"example": "270 electoral"
},
"seats_for_election": {
"label": "Seats for election",
"description": "The number of seats for election and the house or chamber the seats are for.",
"type": "number",
"required": false
},
"majority_seats": {
"label": "Majority seats",
"description": "The number of seats required for a majority government. If there is an even number of seats in the house or chamber, use the number that is said by the media.",
"type": "number",
"required": false
},
"opinion_polls": {
"label": "Opinion polls",
"description": "Pagename or section anchor of opinion polls.",
"type": "string",
"required": false
},
"registered": {},
"turnout": {
"label": "Turnout",
"description": "Voter turnout for this election.",
"type": "string",
"required": false
},
"votes_counted": {
"label": "Percent of votes counted",
"type": "line",
"description": "Use ONE out of votes_counted, reporting, or declared. Do not include percentage (%) sign."
},
"reporting": {
"label": "Percent reporting",
"type": "line",
"description": "Use ONE out of votes_counted, reporting, or declared. Do not include percentage (%) sign."
},
"declared": {
"label": "Percent votes declared",
"type": "line",
"description": "Use ONE out of votes_counted, reporting, or declared. Do not include percentage (%) sign."
},
"college_voted": {},
"last_update": {
"label": "Last update",
"type": "date"
},
"time_zone": {
"label": "Time zone",
"type": "line",
"description": "Time zone of the time given in the *last_update* field. Must be linked as normal similar to an article GMT(e.g. )",
"example": "GMT"
},
"image_size": {
"label": "Image size",
"type": "line",
"example": "x200px",
"description": "Size for images. Can be overridden by image(n)_size",
"required": false
},
"image_upright": {
"label": "Image upright",
"description": "Upright for imagen. See WP:UPRIGHT. Can be overridden by imagen_upright",
"type": "string",
"required": false
},
"previous_mps": {
"type": "string",
"deprecated": true
},
"elected_mps": {
"type": "string",
"deprecated": true
},
"image1": {
"label": "Image 1",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour1 or party1 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image1_size": {
"label": "Image 1 size",
"type": "line",
"example": "x200px",
"description": "Size for image 1. Overrides image_size",
"required": false
},
"image1_upright": {
"label": "Image 1 upright",
"description": "Upright for image1. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour1": {
"label": "Colour 1",
"description": "Enter a hex colour code (without the #) to override the colour of image1. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color1"
]
},
"nominee1": {
"label": "Nominee 1",
"description": "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.",
"type": "string",
"required": false
},
"candidate1": {
"label": "Candidate 1",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader1": {
"label": "Leader 1",