Template:Election box/doc

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

Usage and parameter list for Election box [edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Election box in articles based on its TemplateData.

TemplateData for Election box

fatal JSON error: mw.text.jsonDecode: Syntax error

{ "params":{}, "description":
"The template &#123;&#123;Election box&#125;&#125; is not itself a real template. Instead, there are a family of other templates which together create a results table. See this template's page for how to use <span class="nowrap">&#123;&#123;</span>Election box begin<span class="nowrap">&#125;&#125;</span>, <span class="nowrap">&#123;&#123;</span>Election box candidate<span class="nowrap">&#125;&#125;</span>, and others to create an election results table."
}