Template:Election box majority/TemplateData

From WWII Archives

Revision as of 19:44, 19 March 2023 by Paul Sidle (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Election box majority in articles based on its TemplateData.

TemplateData for Election box majority

Election box majority creates a row in an election results table to record the size of the majority in an election. In this context, "majority" refers to the winning margin between the first and second placed candidates.
Number of votesvotes
The number of votes. Make this easy to read, with e.g. thousands separators.
Example
9,999
Percentage majoritypercentage
The majority size, as a percentage.
Changechange
The change in the majority since the last election.
Example
+10.0

Election box majority creates a row in an election results table to record the size of the majority in an election. In this context, "majority" refers to the winning margin between the first and second placed candidates.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Number of votesvotes

The number of votes. Make this easy to read, with e.g. thousands separators.

Example
9,999
Linerequired
Percentage majoritypercentage

The majority size, as a percentage.

Linerequired
Changechange

The change in the majority since the last election.

Example
+10.0
Linerequired