Difference between revisions of "Template:CanElec1-by"

From blackwiki
Jump to navigation Jump to search
imported>Dl2000
(correct usage note)
imported>Lightmouse
(Units/dates/other using AWB)
Line 5: Line 5:
 
:<nowiki>{{CanElec1-by|[[1 July]] [[1867]]|reason}}</nowiki>
 
:<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).
+
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.
 
The second optional parameter specifies the reason for by-election, or other descriptive summary text.

Revision as of 13:48, 7 January 2009

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.


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