Difference between revisions of "Template:CanElec1-by"

From blackwiki
Jump to navigation Jump to search
imported>Dl2000
(explain 2nd optional reason parm)
imported>Dl2000
(correct usage note)
Line 3: Line 3:
  
 
Usage:
 
Usage:
:<nowiki>{{CanElec1|[[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).

Revision as of 02:03, 13 September 2008

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