Template:Election box majority/TemplateData

From blackwiki
Jump to navigation Jump to search
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.
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

Format: inline

Test of raw TemplateData output:

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