<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://blackwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.254.75.171&amp;*</id>
	<title>blackwiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://blackwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.254.75.171&amp;*"/>
	<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Special:Contributions/87.254.75.171"/>
	<updated>2026-04-04T09:22:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790169</id>
		<title>Template:Election box/doc</title>
		<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790169"/>
		<updated>2018-03-27T12:41:01Z</updated>

		<summary type="html">&lt;p&gt;87.254.75.171: Undid revision 832685643 by 87.254.75.171 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Navbar|Template:Election_box/doc|style=float:right;|text=This content:}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
These election box templates are for displaying a list of candidates and results for any election.  They produce tables like this:&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&amp;lt;!--&lt;br /&gt;
Include template data page if available for the specific page this is transcluded on.&lt;br /&gt;
--&amp;gt;{{#ifexist:Template:{{BASEPAGENAME}}/TemplateData|&lt;br /&gt;
&amp;lt;h3&amp;gt;Usage and parameter list for {{BASEPAGENAME}} &amp;lt;span class=&amp;quot;mw-editsection&amp;quot;&amp;gt;[{{Edit|Template:{{BASEPAGENAME}}/TemplateData}}]&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
{{ {{BASEPAGENAME}}/TemplateData}}&lt;br /&gt;
|''[[WP:TDATA|TemplateData]] specific to {{BASEPAGENAME}} was not found. You can add it [[Template:{{BASEPAGENAME}}/TemplateData|here]].}}&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
====Basic====&lt;br /&gt;
There are three basic templates:&lt;br /&gt;
&lt;br /&gt;
*{{tl|Election box begin}}&lt;br /&gt;
*{{tl|Election box candidate}}&lt;br /&gt;
*{{tl|Election box end}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When using this template '''please''' use the ''election box end'' template rather than simply inserting &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; at the end of the election box.  If you do place the &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; it will be detected as an error by syntax-checking bots and will then be placed in the [[WP:WS|syntax cleanup project]] queue and will need to be fixed by someone.  Having fixed a few hundred already, it is becoming somewhat repetitive.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 {{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Labour&lt;br /&gt;
   |candidate  = Tony Blair&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Conservative&lt;br /&gt;
   |candidate  = Michael Howard&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Labour&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Conservative&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Party links====&lt;br /&gt;
See [[Template:Election box candidate with party link]] for usage and set-up.&lt;br /&gt;
&lt;br /&gt;
====Majority and turnout====&lt;br /&gt;
Three further templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box majority}}&lt;br /&gt;
* {{tl|Election box turnout}}&lt;br /&gt;
* {{tl|Election box registered electors}}&lt;br /&gt;
&lt;br /&gt;
can be added to record the majority, turnout and number of registered electors for an election. (In this context, &amp;quot;[[majority]]&amp;quot; refers to the winning margin between the first and second placed candidates.)&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box registered electors|&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box registered electors&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Election outcome====&lt;br /&gt;
Finally there are two templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box hold with party link}}&lt;br /&gt;
* {{tl|Election box gain with party link}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
 or...&lt;br /&gt;
&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
or this...&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}0&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
*The ''swing'' parameter represents [[Peter Snow]]'s [[Swingometer]] measure, i.e. the percentage change (or swing) in the vote since the last election.&lt;br /&gt;
*When preparing the tables in advance of an election, it may be convenient to include these two templates but commented out (using &amp;lt;code&amp;gt; &amp;amp;lt;!-- and --&amp;gt; &amp;lt;/code&amp;gt;) until the outcome is known.&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
==List of templates==&lt;br /&gt;
{{List of Election Box Templates}}&lt;br /&gt;
&lt;br /&gt;
===Blanks by country===&lt;br /&gt;
* [[Template:Election box/UK-blanks|United Kingdom]]&lt;br /&gt;
* [[Template:Election box/US blanks|United States]]&lt;br /&gt;
&lt;br /&gt;
===Extensions===&lt;br /&gt;
*[[Template:Election FPTP begin]] As 1, but includes an additional column for expenditures. [[Bulkley Valley-Stikine|Example]]&lt;br /&gt;
*[[Template:Election box begin for list]] As 1, but better suited to list-based multi-member constituencies. [[London (European Parliament constituency)|Example]]&lt;br /&gt;
*[[Template:Election box candidate for alliance]] As 3, with an additional &amp;quot;side&amp;quot; party. [[Newbury (UK Parliament constituency)#Elections in the 1980s|Example]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Template:Compact election box]] A more compact box for first-past-the-post elections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Election and referendum infobox templates]]&lt;br /&gt;
&lt;br /&gt;
[[ro:Format:Election box]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>87.254.75.171</name></author>
		
	</entry>
	<entry>
		<id>https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790168</id>
		<title>Template:Election box/doc</title>
		<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790168"/>
		<updated>2018-03-27T12:39:04Z</updated>

		<summary type="html">&lt;p&gt;87.254.75.171: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Navbar|Template:Election_box/doc|style=float:right;|text=This content:}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
These election box templates are for displaying a list of candidates and results for any election.  They produce tables like this:&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&amp;lt;!--&lt;br /&gt;
Include template data page if available for the specific page this is transcluded on.&lt;br /&gt;
--&amp;gt;{{#ifexist:Template:{{BASEPAGENAME}}/TemplateData|&lt;br /&gt;
&amp;lt;h3&amp;gt;Usage and parameter list for {{BASEPAGENAME}} &amp;lt;span class=&amp;quot;mw-editsection&amp;quot;&amp;gt;[{{Edit|Template:{{BASEPAGENAME}}/TemplateData}}]&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
{{ {{BASEPAGENAME}}/TemplateData}}&lt;br /&gt;
|''[[WP:TDATA|TemplateData]] specific to {{BASEPAGENAME}} was not found. You can add it [[Template:{{BASEPAGENAME}}/TemplateData|here]].}}&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
====Basic====&lt;br /&gt;
There are three basic templates:&lt;br /&gt;
&lt;br /&gt;
*{{tl|Election box begin}}&lt;br /&gt;
*{{tl|Election box candidate}}&lt;br /&gt;
*{{tl|Election box end}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When using this template '''please''' use the ''election box end'' template rather than simply inserting &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; at the end of the election box.  If you do place the &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; it will be detected as an error by syntax-checking bots and will then be placed in the [[WP:WS|syntax cleanup project]] queue and will need to be fixed by someone.  Having fixed a few hundred already, it is becoming somewhat repetitive.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 {{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Labour Party (UK)&lt;br /&gt;
   |candidate  = Tony Blair&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Conservative Party (UK)&lt;br /&gt;
   |candidate  = Michael Howard&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Party links====&lt;br /&gt;
See [[Template:Election box candidate with party link]] for usage and set-up.&lt;br /&gt;
&lt;br /&gt;
====Majority and turnout====&lt;br /&gt;
Three further templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box majority}}&lt;br /&gt;
* {{tl|Election box turnout}}&lt;br /&gt;
* {{tl|Election box registered electors}}&lt;br /&gt;
&lt;br /&gt;
can be added to record the majority, turnout and number of registered electors for an election. (In this context, &amp;quot;[[majority]]&amp;quot; refers to the winning margin between the first and second placed candidates.)&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box registered electors|&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box registered electors&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Election outcome====&lt;br /&gt;
Finally there are two templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box hold with party link}}&lt;br /&gt;
* {{tl|Election box gain with party link}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
 or...&lt;br /&gt;
&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
or this...&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}0&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
*The ''swing'' parameter represents [[Peter Snow]]'s [[Swingometer]] measure, i.e. the percentage change (or swing) in the vote since the last election.&lt;br /&gt;
*When preparing the tables in advance of an election, it may be convenient to include these two templates but commented out (using &amp;lt;code&amp;gt; &amp;amp;lt;!-- and --&amp;gt; &amp;lt;/code&amp;gt;) until the outcome is known.&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
==List of templates==&lt;br /&gt;
{{List of Election Box Templates}}&lt;br /&gt;
&lt;br /&gt;
===Blanks by country===&lt;br /&gt;
* [[Template:Election box/UK-blanks|United Kingdom]]&lt;br /&gt;
* [[Template:Election box/US blanks|United States]]&lt;br /&gt;
&lt;br /&gt;
===Extensions===&lt;br /&gt;
*[[Template:Election FPTP begin]] As 1, but includes an additional column for expenditures. [[Bulkley Valley-Stikine|Example]]&lt;br /&gt;
*[[Template:Election box begin for list]] As 1, but better suited to list-based multi-member constituencies. [[London (European Parliament constituency)|Example]]&lt;br /&gt;
*[[Template:Election box candidate for alliance]] As 3, with an additional &amp;quot;side&amp;quot; party. [[Newbury (UK Parliament constituency)#Elections in the 1980s|Example]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Template:Compact election box]] A more compact box for first-past-the-post elections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Election and referendum infobox templates]]&lt;br /&gt;
&lt;br /&gt;
[[ro:Format:Election box]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>87.254.75.171</name></author>
		
	</entry>
	<entry>
		<id>https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790167</id>
		<title>Template:Election box/doc</title>
		<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790167"/>
		<updated>2018-03-27T12:38:12Z</updated>

		<summary type="html">&lt;p&gt;87.254.75.171: /* Majority and turnout */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Navbar|Template:Election_box/doc|style=float:right;|text=This content:}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
These election box templates are for displaying a list of candidates and results for any election.  They produce tables like this:&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&amp;lt;!--&lt;br /&gt;
Include template data page if available for the specific page this is transcluded on.&lt;br /&gt;
--&amp;gt;{{#ifexist:Template:{{BASEPAGENAME}}/TemplateData|&lt;br /&gt;
&amp;lt;h3&amp;gt;Usage and parameter list for {{BASEPAGENAME}} &amp;lt;span class=&amp;quot;mw-editsection&amp;quot;&amp;gt;[{{Edit|Template:{{BASEPAGENAME}}/TemplateData}}]&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
{{ {{BASEPAGENAME}}/TemplateData}}&lt;br /&gt;
|''[[WP:TDATA|TemplateData]] specific to {{BASEPAGENAME}} was not found. You can add it [[Template:{{BASEPAGENAME}}/TemplateData|here]].}}&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
====Basic====&lt;br /&gt;
There are three basic templates:&lt;br /&gt;
&lt;br /&gt;
*{{tl|Election box begin}}&lt;br /&gt;
*{{tl|Election box candidate}}&lt;br /&gt;
*{{tl|Election box end}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When using this template '''please''' use the ''election box end'' template rather than simply inserting &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; at the end of the election box.  If you do place the &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; it will be detected as an error by syntax-checking bots and will then be placed in the [[WP:WS|syntax cleanup project]] queue and will need to be fixed by someone.  Having fixed a few hundred already, it is becoming somewhat repetitive.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 {{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Labour&lt;br /&gt;
   |candidate  = Tony Blair&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Conservative&lt;br /&gt;
   |candidate  = Michael Howard&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Labour&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Conservative&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Party links====&lt;br /&gt;
See [[Template:Election box candidate with party link]] for usage and set-up.&lt;br /&gt;
&lt;br /&gt;
====Majority and turnout====&lt;br /&gt;
Three further templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box majority}}&lt;br /&gt;
* {{tl|Election box turnout}}&lt;br /&gt;
* {{tl|Election box registered electors}}&lt;br /&gt;
&lt;br /&gt;
can be added to record the majority, turnout and number of registered electors for an election. (In this context, &amp;quot;[[majority]]&amp;quot; refers to the winning margin between the first and second placed candidates.)&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box registered electors|&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box registered electors&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Election outcome====&lt;br /&gt;
Finally there are two templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box hold with party link}}&lt;br /&gt;
* {{tl|Election box gain with party link}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
 or...&lt;br /&gt;
&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
or this...&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}0&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
*The ''swing'' parameter represents [[Peter Snow]]'s [[Swingometer]] measure, i.e. the percentage change (or swing) in the vote since the last election.&lt;br /&gt;
*When preparing the tables in advance of an election, it may be convenient to include these two templates but commented out (using &amp;lt;code&amp;gt; &amp;amp;lt;!-- and --&amp;gt; &amp;lt;/code&amp;gt;) until the outcome is known.&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
==List of templates==&lt;br /&gt;
{{List of Election Box Templates}}&lt;br /&gt;
&lt;br /&gt;
===Blanks by country===&lt;br /&gt;
* [[Template:Election box/UK-blanks|United Kingdom]]&lt;br /&gt;
* [[Template:Election box/US blanks|United States]]&lt;br /&gt;
&lt;br /&gt;
===Extensions===&lt;br /&gt;
*[[Template:Election FPTP begin]] As 1, but includes an additional column for expenditures. [[Bulkley Valley-Stikine|Example]]&lt;br /&gt;
*[[Template:Election box begin for list]] As 1, but better suited to list-based multi-member constituencies. [[London (European Parliament constituency)|Example]]&lt;br /&gt;
*[[Template:Election box candidate for alliance]] As 3, with an additional &amp;quot;side&amp;quot; party. [[Newbury (UK Parliament constituency)#Elections in the 1980s|Example]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Template:Compact election box]] A more compact box for first-past-the-post elections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Election and referendum infobox templates]]&lt;br /&gt;
&lt;br /&gt;
[[ro:Format:Election box]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>87.254.75.171</name></author>
		
	</entry>
	<entry>
		<id>https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790166</id>
		<title>Template:Election box/doc</title>
		<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790166"/>
		<updated>2018-03-27T12:37:33Z</updated>

		<summary type="html">&lt;p&gt;87.254.75.171: /* Majority and turnout */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Navbar|Template:Election_box/doc|style=float:right;|text=This content:}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
These election box templates are for displaying a list of candidates and results for any election.  They produce tables like this:&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&amp;lt;!--&lt;br /&gt;
Include template data page if available for the specific page this is transcluded on.&lt;br /&gt;
--&amp;gt;{{#ifexist:Template:{{BASEPAGENAME}}/TemplateData|&lt;br /&gt;
&amp;lt;h3&amp;gt;Usage and parameter list for {{BASEPAGENAME}} &amp;lt;span class=&amp;quot;mw-editsection&amp;quot;&amp;gt;[{{Edit|Template:{{BASEPAGENAME}}/TemplateData}}]&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
{{ {{BASEPAGENAME}}/TemplateData}}&lt;br /&gt;
|''[[WP:TDATA|TemplateData]] specific to {{BASEPAGENAME}} was not found. You can add it [[Template:{{BASEPAGENAME}}/TemplateData|here]].}}&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
====Basic====&lt;br /&gt;
There are three basic templates:&lt;br /&gt;
&lt;br /&gt;
*{{tl|Election box begin}}&lt;br /&gt;
*{{tl|Election box candidate}}&lt;br /&gt;
*{{tl|Election box end}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When using this template '''please''' use the ''election box end'' template rather than simply inserting &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; at the end of the election box.  If you do place the &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; it will be detected as an error by syntax-checking bots and will then be placed in the [[WP:WS|syntax cleanup project]] queue and will need to be fixed by someone.  Having fixed a few hundred already, it is becoming somewhat repetitive.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 {{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Labour&lt;br /&gt;
   |candidate  = Tony Blair&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Conservative&lt;br /&gt;
   |candidate  = Michael Howard&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Labour&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Conservative&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Party links====&lt;br /&gt;
See [[Template:Election box candidate with party link]] for usage and set-up.&lt;br /&gt;
&lt;br /&gt;
====Majority and turnout====&lt;br /&gt;
Three further templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box majority}}&lt;br /&gt;
* {{tl|Election box turnout}}&lt;br /&gt;
* {{tl|Election box registered electors}}&lt;br /&gt;
&lt;br /&gt;
can be added to record the majority, turnout and number of registered electors for an election. (In this context, &amp;quot;[[majority]]&amp;quot; refers to the winning margin between the first and second placed candidates.)&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box registered electors&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Election outcome====&lt;br /&gt;
Finally there are two templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box hold with party link}}&lt;br /&gt;
* {{tl|Election box gain with party link}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
 or...&lt;br /&gt;
&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
or this...&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}0&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
*The ''swing'' parameter represents [[Peter Snow]]'s [[Swingometer]] measure, i.e. the percentage change (or swing) in the vote since the last election.&lt;br /&gt;
*When preparing the tables in advance of an election, it may be convenient to include these two templates but commented out (using &amp;lt;code&amp;gt; &amp;amp;lt;!-- and --&amp;gt; &amp;lt;/code&amp;gt;) until the outcome is known.&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
==List of templates==&lt;br /&gt;
{{List of Election Box Templates}}&lt;br /&gt;
&lt;br /&gt;
===Blanks by country===&lt;br /&gt;
* [[Template:Election box/UK-blanks|United Kingdom]]&lt;br /&gt;
* [[Template:Election box/US blanks|United States]]&lt;br /&gt;
&lt;br /&gt;
===Extensions===&lt;br /&gt;
*[[Template:Election FPTP begin]] As 1, but includes an additional column for expenditures. [[Bulkley Valley-Stikine|Example]]&lt;br /&gt;
*[[Template:Election box begin for list]] As 1, but better suited to list-based multi-member constituencies. [[London (European Parliament constituency)|Example]]&lt;br /&gt;
*[[Template:Election box candidate for alliance]] As 3, with an additional &amp;quot;side&amp;quot; party. [[Newbury (UK Parliament constituency)#Elections in the 1980s|Example]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Template:Compact election box]] A more compact box for first-past-the-post elections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Election and referendum infobox templates]]&lt;br /&gt;
&lt;br /&gt;
[[ro:Format:Election box]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>87.254.75.171</name></author>
		
	</entry>
	<entry>
		<id>https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790165</id>
		<title>Template:Election box/doc</title>
		<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Template:Election_box/doc&amp;diff=4790165"/>
		<updated>2018-03-27T12:36:49Z</updated>

		<summary type="html">&lt;p&gt;87.254.75.171: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Navbar|Template:Election_box/doc|style=float:right;|text=This content:}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
These election box templates are for displaying a list of candidates and results for any election.  They produce tables like this:&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors&lt;br /&gt;
   |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&amp;lt;!--&lt;br /&gt;
Include template data page if available for the specific page this is transcluded on.&lt;br /&gt;
--&amp;gt;{{#ifexist:Template:{{BASEPAGENAME}}/TemplateData|&lt;br /&gt;
&amp;lt;h3&amp;gt;Usage and parameter list for {{BASEPAGENAME}} &amp;lt;span class=&amp;quot;mw-editsection&amp;quot;&amp;gt;[{{Edit|Template:{{BASEPAGENAME}}/TemplateData}}]&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
{{ {{BASEPAGENAME}}/TemplateData}}&lt;br /&gt;
|''[[WP:TDATA|TemplateData]] specific to {{BASEPAGENAME}} was not found. You can add it [[Template:{{BASEPAGENAME}}/TemplateData|here]].}}&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
====Basic====&lt;br /&gt;
There are three basic templates:&lt;br /&gt;
&lt;br /&gt;
*{{tl|Election box begin}}&lt;br /&gt;
*{{tl|Election box candidate}}&lt;br /&gt;
*{{tl|Election box end}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When using this template '''please''' use the ''election box end'' template rather than simply inserting &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; at the end of the election box.  If you do place the &amp;lt;nowiki&amp;gt;|}&amp;lt;/nowiki&amp;gt; it will be detected as an error by syntax-checking bots and will then be placed in the [[WP:WS|syntax cleanup project]] queue and will need to be fixed by someone.  Having fixed a few hundred already, it is becoming somewhat repetitive.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 {{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Labour&lt;br /&gt;
   |candidate  = Tony Blair&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box candidate&lt;br /&gt;
   |party      = Conservative&lt;br /&gt;
   |candidate  = Michael Howard&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Labour&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate&lt;br /&gt;
  |party      = Conservative&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Party links====&lt;br /&gt;
See [[Template:Election box candidate with party link]] for usage and set-up.&lt;br /&gt;
&lt;br /&gt;
====Majority and turnout====&lt;br /&gt;
Three further templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box majority}}&lt;br /&gt;
* {{tl|Election box turnout}}&lt;br /&gt;
* {{tl|Election box registered electors}}&lt;br /&gt;
&lt;br /&gt;
can be added to record the majority, turnout and number of registered electors for an election. (In this context, &amp;quot;[[majority]]&amp;quot; refers to the winning margin between the first and second placed candidates.)&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
====Election outcome====&lt;br /&gt;
Finally there are two templates:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Election box hold with party link}}&lt;br /&gt;
* {{tl|Election box gain with party link}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
 or...&lt;br /&gt;
&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box end}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will create this:&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box hold with party link&lt;br /&gt;
   |winner     = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
or this...&lt;br /&gt;
&lt;br /&gt;
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: Strangford}}&lt;br /&gt;
{{Election box candidate with party link&lt;br /&gt;
  |party      = Labour Party (UK)&lt;br /&gt;
  |candidate  = Tony Blair&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
}}&lt;br /&gt;
 {{Election box candidate with party link&lt;br /&gt;
  |party      = Conservative Party (UK)&lt;br /&gt;
  |candidate  = Michael Howard&lt;br /&gt;
  |votes      = 9,999&lt;br /&gt;
  |percentage = 50.0&lt;br /&gt;
  |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box majority&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
 {{Election box turnout&lt;br /&gt;
   |votes      = 9,999&lt;br /&gt;
   |percentage = 50.0&lt;br /&gt;
   |change     = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box registered electors|&lt;br /&gt;
 |reg. electors = 19,998&lt;br /&gt;
}}0&lt;br /&gt;
 {{Election box gain with party link&lt;br /&gt;
   |winner     = Conservative Party (UK)&lt;br /&gt;
   |loser      = Labour Party (UK)&lt;br /&gt;
   |swing      = +10.0&lt;br /&gt;
 }}&lt;br /&gt;
{{Election box end}}&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
*The ''swing'' parameter represents [[Peter Snow]]'s [[Swingometer]] measure, i.e. the percentage change (or swing) in the vote since the last election.&lt;br /&gt;
*When preparing the tables in advance of an election, it may be convenient to include these two templates but commented out (using &amp;lt;code&amp;gt; &amp;amp;lt;!-- and --&amp;gt; &amp;lt;/code&amp;gt;) until the outcome is known.&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
==List of templates==&lt;br /&gt;
{{List of Election Box Templates}}&lt;br /&gt;
&lt;br /&gt;
===Blanks by country===&lt;br /&gt;
* [[Template:Election box/UK-blanks|United Kingdom]]&lt;br /&gt;
* [[Template:Election box/US blanks|United States]]&lt;br /&gt;
&lt;br /&gt;
===Extensions===&lt;br /&gt;
*[[Template:Election FPTP begin]] As 1, but includes an additional column for expenditures. [[Bulkley Valley-Stikine|Example]]&lt;br /&gt;
*[[Template:Election box begin for list]] As 1, but better suited to list-based multi-member constituencies. [[London (European Parliament constituency)|Example]]&lt;br /&gt;
*[[Template:Election box candidate for alliance]] As 3, with an additional &amp;quot;side&amp;quot; party. [[Newbury (UK Parliament constituency)#Elections in the 1980s|Example]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Template:Compact election box]] A more compact box for first-past-the-post elections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Election and referendum infobox templates]]&lt;br /&gt;
&lt;br /&gt;
[[ro:Format:Election box]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>87.254.75.171</name></author>
		
	</entry>
</feed>