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
দল প্রার্থী ভোট % ±%
Conservative John Smith ১,০১,৫৪৯ ৬৩.৮ +৬.২
Labour Party (UK) Jane Johnson ৫২,২০১ ৩১.৬ -৮.২
সংখ্যাগরিষ্ঠতা ১,৫৩,৭০০ ৭২.৪ +৫.৪
ভোটার উপস্থিতি ৯,৯৯৯ ৫০.০ +১০.০
নিবন্ধিত ভোটার ৩১৯,৯৯৮

TemplateData specific to Election box gain with party link 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
দল প্রার্থী ভোট % ±%
Labour Tony Blair 9,999 50.0 +10.0
Conservative Michael Howard 9,999 50.0 +10.0

Party links সম্পাদনা

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
   |change        = +2.3
 }}
 {{Election box end}}
 

Will create this:

2005 general election: Strangford
দল প্রার্থী ভোট % ±%
Labour Party (UK) Tony Blair ৯,৯৯৯ ৫০.০ +১০.০
Conservative Party (UK) Michael Howard ৯,৯৯৯ ৫০.০ +১০.০
সংখ্যাগরিষ্ঠতা ৯,৯৯৯ ৫০.০ +১০.০
ভোটার উপস্থিতি ৯,৯৯৯ ৫০.০ +১০.০
নিবন্ধিত ভোটার ১৯,৯৯৮

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
দল প্রার্থী ভোট % ±%
Labour Party (UK) Tony Blair ৯,৯৯৯ ৫০.০ +১০.০
Conservative Party (UK) Michael Howard ৯,৯৯৯ ৫০.০ +১০.০
সংখ্যাগরিষ্ঠতা ৯,৯৯৯ ৫০.০ +১০.০
ভোটার উপস্থিতি ৯,৯৯৯ ৫০.০ +১০.০
নিবন্ধিত ভোটার ১৯,৯৯৮
Labour Party (UK) নির্বাচনী এলাকা ধরে রাখে সুইং +১০.০

or this...

2005 general election: Strangford
দল প্রার্থী ভোট % ±%
Labour Party (UK) Tony Blair ৯,৯৯৯ ৫০.০ +১০.০
Conservative Party (UK) Michael Howard ৯,৯৯৯ ৫০.০ +১০.০
সংখ্যাগরিষ্ঠতা ৯,৯৯৯ ৫০.০ +১০.০
ভোটার উপস্থিতি ৯,৯৯৯ ৫০.০ +১০.০
নিবন্ধিত ভোটার ১৯,৯৯৮
Labour Party (UK) থেকে Conservative Party (UK) অর্জন করেছে সুইং +10.0

Notes:

  • The swing parameter represents Peter Snow's Swingometer measure, i.e. the percentage change (or swing) in the vote since the last election.
  • When preparing the tables in advance of an election, it may be convenient to include these two templates but commented out (using <!-- and --> ) until the outcome is known.
  • Potentially there is a need for versions of these templates that do not have the party link mechanism. However, it can be argued that any party that has a successful candidate deserves an article about them and the full /meta/color treatment. The one obvious exception to this is, of course, independent candidates, who won't actually have a party. If / when there's a need, just create a non party link version of these templates.

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 total and related সম্পাদনা

Election box end সম্পাদনা


Blanks by country সম্পাদনা

Extensions সম্পাদনা

See also সম্পাদনা