Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Infobox election/doc
(section)
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Usage == Remove fields for different types of elections. <syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox election | election_name = | country = | flag_year = | flag_image = | type = <!-- presidential, parliamentary, legislative, primary, or by-election --><!-- MANDATORY, and limited to the preceding five types --> | vote_type = Popular <!-- default --> | ongoing = | party_colour = | party_name = | alliance_name = | previous_election = | previous_year = | outgoing_members = | election_date = <!-- {{Start date|YYYY|MM|DD}} --> | elected_members = | next_election = <!--page title, will be linked if it exists--> | next_year = | votes_for_election= | needed_votes = | seats_for_election= | majority_seats = | opinion_polls = | registered = | turnout = | votes_counted = <!-- Use ONE out of votes_counted, reporting or declared, do not include percentage (%) sign--> | reporting = <!-- Use ONE out of votes_counted, reporting or declared, do not include percentage (%) sign--> | declared = <!-- Use ONE out of votes_counted, reporting or declared, do not include percentage (%) sign--> | last_update = | time_zone = | image_upright = | filler = <!-- (fills whitespace to the left of image1 with filler text, such as "Political selections")--> <!-- person 1 --> | image1 = | image1_size = | image1_upright = | colour1 = | nominee1 = <!-- when appropriate, candidate1 can be used instead --> | candidate1 = <!-- any type of election --> | leader1 = <!-- legislative or parliamentary only--> | party1 = | alliance1 = <!-- presidential --> | home_state1 = | running_mate1 = | electoral_vote1 = | delegate_count1 = | states_carried1 = | districts_won1 = <!-- 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 = | image2_size = | image2_upright = | colour2 = | nominee2 = <!-- presidential only, when appropriate, candidate2 can be used instead --> | candidate2 = <!-- any type of election --> | leader2 = <!-- legislative or parliamentary only--> | party2 = | alliance2 = <!-- presidential --> | home_state2 = | running_mate2 = | electoral_vote2 = | delegate_count2 = | states_carried2 = | districts_won2 = <!-- 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--> <!-- 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 = }} </syntaxhighlight> : *Non-optional fields. : † only displayed if the election is yet to take place. : ‡ only displayed if the election has finished. {| class="wikitable" ! 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. |- | '''flag_image''' | | For non-country elections, specify the full name of the flag, coat-of-arms, or seal image to display. |- | '''type''' |* | The type of election. Must be one of five: presidential, legislative, parliamentary, primary, or by-election. Legislative after the election will display majority and minority party, rather than first and second party. |- | '''vote_type''' | | The type of votes recorded at popular_vote''n''. Defaults to "Popular". |- | '''ongoing''' |* | Must be either yes or no, 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 has finished. (Default no.) |- | '''party_colour''' | | Also spelled '''party_color'''. To turn off the party colours enter 'no'. |- | '''party_name''' | | To turn off linking to the parties enter 'no'. |- | '''party_label''' | | Changes the row label from 'Party' to whatever is entered. |- | '''alliance_name''' | | To turn off linking to the alliances 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_seat_election''' | ''legislative''<br/>''parliamentary''<br/>''by-election'' | For bodies with [[staggered elections]], the page name of the last election for this specific seat. |- | '''previous_seat_year''' | ''legislative''<br/>''parliamentary''<br/>''by-election'' | For bodies with staggered elections, the year the last election for this specific seat. |- | '''previous_mps''' (DEPRECATED) | ''legislative''<br/>''parliamentary'' | Also spelled '''previous_MPs''' or '''previous_members''', page name for the members elected in the last election. |- | '''outgoing_members''' | ''legislative''<br/>''parliamentary'' | The page name of the legislative term (typically including a list of members) serving between the previous election and this election.<br />(Can either be a page title or a wiki link.) |- | '''election_date''' | | Date of election - use {{tl|Start date}} |- | '''seat_class''' | ''legislative''<br/>''parliamentary''<br/>''by-election'' | For bodies with [[staggered elections]], the name of the class or group that this specific seat belongs to. |- | '''elected_mps''' (DEPRECATED) | ''legislative''<br/>''parliamentary'' | Wikilink to the MPs elected in this election. |- | '''elected_members''' | ''legislative''<br/>''parliamentary'' | The page name of the legislative term (typically including a list of members) serving between this election and the next election.<br />(Can either be a page title or a wiki link.) |- | '''next_election''' | | The page name of the next election of this type. If red link (it doesn't exist), then it will appear unlinked. |- | '''next_year''' | | The year the next election of this type took place. |- | '''next_seat_election''' | ''legislative''<br/>''parliamentary''<br/>''by-election'' | For bodies with [[staggered elections]], the page name of the next election for this specific seat. If red link (it doesn't exist), then it will appear unlinked. |- | '''next_seat_year''' | ''legislative''<br/>''parliamentary''<br/>''by-election'' | For bodies with staggered elections, the year the next election for this specific seat. |- | '''<del>next_mps</del>''' (DEPRECATED, REMOVED) | <del>''legislative''<br/>''parliamentary''</del> | <del>Also spelled '''next_MPs''' or '''next_members''', page name for the members elected in the next election.</del> |- | '''votes_for_election''' | ''presidential'' | The number of votes for election and the system of voting (e.g. Electoral College). |- | '''needed_votes''' | ''presidential'' | The number of votes required to win. If there is an even number of votes, use the number that is said by the media. |- | '''seats_for_election''' | ''legislative''<br/>''parliamentary''<br/>''by-election'' | The number of seats for election and the house or chamber the seats are for. |- | '''majority_seats''' | ''legislative''<br/>''parliamentary'' | 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. |- | '''opinion_polls''' | | Pagename or section anchor of [[opinion poll]]s. |- | '''registered''' | | Number of [[Voter registration|registered voters]] for this election. |- | '''turnout''' | | [[Voter turnout]] for this election. |- | '''votes_counted''' | rowspan="3"| | rowspan="3"|The number of votes or the number of constituencies, in %, that have been counted after polls have closed. '''Do not include''' the percentage sign (%) after number. It is advisable to remove this information soon after the counting process has finished and all the results have been declared. Use '''votes_counted''', '''reporting''' or '''declared''' according to whichever term best suits the specific election and counting procedure |- | '''reporting''' |- | '''declared''' |- | '''last_update''' | | The time at which the latest update on results and the number of votes were updated on the infobox |- | '''time_zone''' | | Time zone of the time given in the ''last_update'' field. Must be linked as normal similar to an article (e.g. <nowiki>[[Greenwich mean time|GMT]])</nowiki> |- | '''image_upright''' | | Upright for all {{para|image<var>n</var>}}. See [[WP:UPRIGHT]]. Can be overridden by the corresponding {{para|image<var>n</var>_upright}}. |- | '''filler''' | | Set filler = (text) to include optional filler text, such as "Political selections", to the left of image1. |- | '''image1''' | | 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. In order to work, colour1 or party1 must be entered. |- | '''image1_upright''' | | Upright for {{para|image1}}. See [[WP:UPRIGHT]]. Overrides {{para|image_upright}}. |- | '''colour1''' | | Also spelt '''color1'''. Enter a hex colour code (without the <nowiki>#</nowiki>) to override the border colour of image1. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders. |- | '''nominee1''' | ''presidential''<br/>''by-election'' | Name of nominee. When appropriate, candidate1 can be used instead. The number can be changed up to nine to display different Nominees or Candidates. |- | '''candidate1''' | | Name of candidate. The number can be changed up to nine to display different candidates. |- | '''leader1''' | ''legislative''<br/>''parliamentary'' | Name of head of party list or party leader. The number can be changed up to nine to display different parties. |- | '''party1''' | | Political Party using [[:Category:Political party shortname templates|Political party shortname templates]]. The number can be changed up to nine to display different parties. |- | '''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. |- | '''running_mate1''' | ''presidential'' | The Nominee's [[Running mate]]. The number can be changed up to nine to display different nominees. |- | '''electoral_vote1''' | ''presidential''<br/>‡ | The [[electoral vote]]s obtained by the nominee. The number can be changed up to nine to display different nominees. |- | '''projected_vote1''' | ''presidential''<br/>‡ | The [[electoral vote]]s projected for the nominee. |- | '''delegate_count1''' | ''presidential'' | The aggregate number of [[Delegate (American politics)|delegate]]s obtained by the candidate. The number can be changed up to nine to display different candidates. Intended for use in pre-election processes such as selection of delegates to [[United States presidential nominating convention]]s. Intended to be used instead of electoral_vote1 for these cases. |- | '''states_carried1''' | ''presidential''<br/>‡ | The states carried or won by the nominee. The number can be changed up to nine to display different Nominees. |- | '''districts_won1''' | ''presidential''<br/>‡ | The number of districts won by the nominee. The number can be changed up to nine to display different Nominees. |- | '''leader_since1''' | ''legislative''<br/>''parliamentary'' | The date the leader took office. The number can be changed up to nine to display different parties. Only to be used when the information is in the article body. |- | '''leaders_seat1''' | ''legislative''<br/>''parliamentary'' | The seat the Leader represents. The number can be changed up to nine to display different Parties. Only to be used when the information is in the article body. |- | '''last_election1''' | ''legislative''<br/>''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. |- | '''seats_before1''' | ''legislative''<br/>''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. |- | '''seats_needed1''' | ''legislative''<br/>''parliamentary''<br/>† | The seats required to gain an overall majority. The number can be changed up to nine to display different Parties. |- | '''seats1''' | ''legislative''<br/>''parliamentary''<br/>‡ | The seats won at the election. The number can be changed up to nine to display different Parties. |- | '''seats_after1''' | ''legislative''<br/>''parliamentary''<br/>‡ | The seat count after the election. The number can be changed up to nine to display different Parties. |- | '''seat_change1''' | ''legislative''<br/>''parliamentary''<br/>‡ | 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. |- | '''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. |- | '''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. |- | '''swing1''' | ''legislative''<br/>''parliamentary''<br/>‡ | The [[Swing (politics)|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. |- | '''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. |- | '''map_image''' | | Page name for the election map file. |- | '''map_size''' | | Size of image of the election map to be displayed. (Default 300px, and limited to no more than 300px per [[WP:IMGSIZELEAD]]). |- | '''map_alt''' | | [[WP:Alternative text for images|Alt text]] for the election map. |- | '''map''' | | A freeform replacement for the above, which can be used to insert [[mw:extension:ImageMap|extension:ImageMap]]s 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. This can be set to "Acting (law)" (which will display as "[[Acting (law)|Acting]]") if necessary. |- | '''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. In case of an ongoing primary, this field may contain the name of the presumptive nominee. If an election is decided by a country's Constitutional/Supreme Court, the leader and the party in power are both listed in this field and a link to the court decision is listed one line below the leader in power. If an election is annulled, the term "Election results annulled" or similar is listed here and a note is listed one line below that. |- | '''after_party''' | ‡ | The party in power as a result of the election. |}
Summary:
Please note that all contributions to LarpOfHoi4 Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LarpOfHoi4 Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template
:
Infobox election/doc
(section)
Add topic