|- style="background-color:#F6F6F6"
! colspan="3" style="text-align: right; margin-right: 0.5em" | કુલ માન્ય મતદાતાઓ
| style="text-align: right; margin-right: 0.5em" | {{{votes}}}
| style="text-align: right; margin-right: 0.5em" | {{{percentage}}}
| style="text-align: right; margin-right: 0.5em" | {{{change}}}
|-
These election box templates are for displaying a list of candidates and results for any election. They produce tables like this:
પક્ષ | ઉમેદવાર | મતો | % | ± | |
---|---|---|---|---|---|
style="background-color: ઢાંચો:NDP/meta/color; width: 5px;" | | [[NDP|ઢાંચો:NDP/meta/shortname]] | Tommy C. Douglas | 101,549 | 63.8 | +6.20 |
style="background-color: ઢાંચો:Progressive Conservative/meta/color; width: 5px;" | | [[Progressive Conservative|ઢાંચો:Progressive Conservative/meta/shortname]] | Michael Howard | 52,201 | 31.60% | -8.15 |
બહુમતી | 153,700 | 72.4 | +5.42 | ||
કુલ માન્ય મતદાતાઓ | 9,999 | 50.0 | +10.0 | ||
નોંધાયેલ મતદાતાઓ | 319,998 |
TemplateData for Election box turnout
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of votes | votes | The number of votes. Make this easy to read, with e.g. thousands separators.
| Line | required |
Percentage majority | percentage | The turnout as a percentage. | Line | required |
Change | change | The change in the turnout since the last election.
| Line | required |
Format: inline
Election box turnout creates a row in an election results table to record the size of the turnout in an election.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of votes | votes | The number of votes. Make this easy to read, with e.g. thousands separators.
| Line | required |
Percentage majority | percentage | The turnout as a percentage. | Line | required |
Change | change | The change in the turnout since the last election.
| Line | required |
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. If you do place the |} it will be detected as an error by syntax-checking bots and will then be placed in the syntax cleanup project queue and will need to be fixed by someone. Having fixed a few hundred already, it is becoming somewhat repetitive.
For example:
{{Election box begin |title=[[United Kingdom general election, 2005|General Election 2005]]: 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:
પક્ષ | ઉમેદવાર | મતો | % | ± | |
---|---|---|---|---|---|
Labour | Tony Blair | 9,999 | 50.0 | +10.0 | |
Conservative | Michael Howard | 9,999 | 50.0 | +10.0 |
See Template:Election box candidate with party link for usage and set-up.
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 }} {{Election box end}}
Will create this:
પક્ષ | ઉમેદવાર | મતો | % | ± | |
---|---|---|---|---|---|
Labour | Tony Blair | 9,999 | 50.0 | +10.0 | |
Conservative | Michael Howard | 9,999 | 50.0 | +10.0 | |
બહુમતી | 9,999 | 50.0 | +10.0 | ||
કુલ માન્ય મતદાતાઓ | 9,999 | 50.0 | +10.0 | ||
નોંધાયેલ મતદાતાઓ | 19,998 |
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:
પક્ષ | ઉમેદવાર | મતો | % | ± | |
---|---|---|---|---|---|
Labour | Tony Blair | 9,999 | 50.0 | +10.0 | |
Conservative | Michael Howard | 9,999 | 50.0 | +10.0 | |
બહુમતી | 9,999 | 50.0 | +10.0 | ||
કુલ માન્ય મતદાતાઓ | 9,999 | 50.0 | +10.0 | ||
નોંધાયેલ મતદાતાઓ | 19,998 | ||||
Labour જાળવી રાખી | ઝુકાવ | +10.0 |
or this...
પક્ષ | ઉમેદવાર | મતો | % | ± | |
---|---|---|---|---|---|
Labour | Tony Blair | 9,999 | 50.0 | +10.0 | |
Conservative | Michael Howard | 9,999 | 50.0 | +10.0 | |
બહુમતી | 9,999 | 50.0 | +10.0 | ||
કુલ માન્ય મતદાતાઓ | 9,999 | 50.0 | +10.0 | ||
નોંધાયેલ મતદાતાઓ | 19,998 | ||||
Labour | ઝુકાવ | +10.0 |
Notes:
<!-- and -->
) until the outcome is known.
For parties without an article on Wikipedia.