Difference between revisions of "Template:CanElec1-by"
Jump to navigation
Jump to search
imported>Dl2000 (add param {{{2}}} for optional desc/explan) |
imported>Dl2000 (add noinclude section to explain usage) |
||
| Line 1: | Line 1: | ||
| + | <noinclude> | ||
| + | This template creates the heading for a CanElec1 byelection table. | ||
| + | |||
| + | Usage: | ||
| + | :<nowiki>{{CanElec1|[[1 July]] [[1867]]}}</nowiki> | ||
| + | |||
| + | Where the parameter is the date of the by-election ([[1 July]] [[1867]] in this example). | ||
| + | |||
| + | For general elections, use the <nowiki>{{CanElec1}}</nowiki> template for header. | ||
| + | |||
| + | For each row (candidate/party/votes), use the <nowiki>{{CanElec1Row}}</nowiki> template. | ||
| + | |||
| + | </noinclude> | ||
{| border="1" cellpadding="4" cellspacing="0" style="background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;" | {| border="1" cellpadding="4" cellspacing="0" style="background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;" | ||
|- style="background-color:#E9E9E9" | |- style="background-color:#E9E9E9" | ||
Revision as of 04:05, 30 October 2006
This template creates the heading for a CanElec1 byelection table.
Usage:
- {{CanElec1|[[1 July]] [[1867]]}}
Where the parameter is the date of the by-election (1 July 1867 in this example).
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 | |||
|---|---|---|---|---|---|