Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Basic  





1.2  Party links  





1.3  Majority and turnout  





1.4  Election outcome  







2 List of templates  



2.1  Election box begin  





2.2  Election box candidate  



2.2.1  Standard  





2.2.2  Winning  





2.2.3  Inline  







2.3  Election summary  





2.4  Election box gain, hold, loss, etc.  





2.5  Election box majority  





2.6  Election box turnout  





2.7  Election box total and related  





2.8  Election box end  





2.9  Blanks by country  





2.10  Extensions  







3 See also  














Template:Election box informal






Français
Bahasa Indonesia

Simple English
Тоҷикӣ
اردو
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


Informal votes {{{votes}}} {{{percentage}}} {{{change}}}

These election box templates are for displaying a list of candidates and results for any election. They produce tables like this (figures are just examples; they are not meant to work mathematically):

2005 general election: Strangford
Party Candidate Votes % ±%
Conservative John Smith 101,549 63.8 +6.2
Labour Jane Johnson 52,201 31.6 −8.2
Majority 153,700 72.4 +5.4
Turnout 9,999 50.0 +10.0
Registered electors 319,998 +3.6
TemplateData specific to Election box informal was not found. You can add it here.

Usage

Basic

There are three basic templates:

The begin and end templates start and end a table with appropriate columns and formatting. The candidate template is used once for each candidate and contributes a row to the table.

When using this template please use the election box end template rather than simply inserting |} at the end of the election box.

For example:

 {{Election box begin |title=[[2005 United Kingdom general election|2005 general election]]: Strangford}}
 {{Election box candidate
   |party      = Labour
   |candidate  = Tony Blair
   |votes      = 9,999
   |percentage = 50.0
   |change     = +10.0
 }}
 {{Election box candidate
   |party      = Conservative
   |candidate  = Michael Howard
   |votes      = 9,999
   |percentage = 50.0
   |change     = +10.0
 }}
 {{Election box end}}
 

Will create this:

2005 general election: Strangford
Party Candidate Votes % ±%
Labour Tony Blair 9,999 50.0 +10.0
Conservative Michael Howard 9,999 50.0 +10.0

See Template:Election box candidate with party link for usage and set-up.

Majority and turnout

Three further templates:

can be added to record the majority, turnout and number of registered electors for an election. (In this context, "majority" refers to the winning margin between the first and second placed candidates.)

For example:

 ...
 {{Election box majority
   |votes      = 9,999
   |percentage = 50.0
   |change     = +10.0
 }}
 {{Election box turnout
   |votes      = 9,999
   |percentage = 50.0
   |change     = +10.0
 }}
 {{Election box registered electors|
   |reg. electors = 19,998
   |ref           =
   |change        = +2.3
 }}
 {{Election box end}}
 

Will create this:

2005 general election: Strangford
Party Candidate Votes % ±%
Labour Tony Blair 9,999 50.0 +10.0
Conservative Michael Howard 9,999 50.0 +10.0
Majority 9,999 50.0 +10.0
Turnout 9,999 50.0 +10.0
Registered electors 19,998 +2.3

Election outcome

Finally there are two templates:

that can be used to summarize the outcome of an election, in terms of whether the incumbent holds the seat or whether it is lost to another party.

For example:

 ...
 {{Election box hold with party link
   |winner     = Labour Party (UK)
   |swing      = +10.0
 }}

 or...

 {{Election box gain with party link
   |winner     = Conservative Party (UK)
   |loser      = Labour Party (UK)
   |swing      = +10.0
 }}
 {{Election box end}}
 

Will create this:

2005 general election: Strangford
Party Candidate Votes % ±%
Labour Tony Blair 9,999 50.0 +10.0
Conservative Michael Howard 9,999 50.0 +10.0
Majority 9,999 50.0 +10.0
Turnout 9,999 50.0 +10.0
Registered electors 19,998 +9.9
Labour hold Swing +10.0

or this...

2005 general election: Strangford
Party Candidate Votes % ±%
Labour Tony Blair 9,999 50.0 +10.0
Conservative Michael Howard 9,999 50.0 +10.0
Majority 9,999 50.0 +10.0
Turnout 9,999 50.0 +10.0
Registered electors 19,998 +9.9
Conservative gain from Labour Swing +10.0

Notes:

List of templates

Election box begin

Election box candidate

Standard

Winning

Inline

Election summary

For parties without an article on Wikipedia.

Election box gain, hold, loss, etc.

Election box majority

Election box turnout

Election box end

Blanks by country

Extensions

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Election_box_informal&oldid=1234609878"

Categories: 
Lua-based templates
Election box templates
Hidden category: 
Wikipedia template-protected templates
 



This page was last edited on 15 July 2024, at 06:57 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki