Difference between revisions of "Template:CanElec1-by"

From blackwiki
Jump to navigation Jump to search
imported>Dl2000
(add param {{{2}}} for optional desc/explan)
imported>Primefac
m (Protected "Template:CanElec1-by": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
 
(8 intermediate revisions by 6 users not shown)
Line 7: Line 7:
 
! style="width: 185px"|Candidate
 
! style="width: 185px"|Candidate
 
! style="width: 60px"|Votes
 
! style="width: 60px"|Votes
 +
<noinclude>
 +
|}
 +
 +
{{documentation|content=
 +
 +
This template creates the heading for a CanElec1 byelection table.
 +
 +
Usage:
 +
:<nowiki>{{CanElec1-by|1 July 1867|reason}}</nowiki>
 +
 +
Where the first parameter is the date of the by-election (1 July 1867 in this example).
 +
 +
The second optional parameter specifies the reason for by-election, or other descriptive summary text.
 +
 +
For general elections, use the <nowiki>{{CanElec1}}</nowiki> template for header.
 +
 +
For each row (candidate/party/votes), use the <nowiki>{{CanElec1Row}}</nowiki> template.
 +
 +
}}
 +
 +
[[Category:Canada election result templates]]
 +
</noinclude>

Latest revision as of 00:28, 19 January 2018

By-election on {{{1}}}
Party Candidate Votes
Template documentation

This template creates the heading for a CanElec1 byelection table.

Usage:

{{CanElec1-by|1 July 1867|reason}}

Where the first parameter is the date of the by-election (1 July 1867 in this example).

The second optional parameter specifies the reason for by-election, or other descriptive summary text.

For general elections, use the {{CanElec1}} template for header.

For each row (candidate/party/votes), use the {{CanElec1Row}} template.