Difference between revisions of "Template:CanElec1-by"
Jump to navigation
Jump to search
Template documentation
imported>WOSlinker (add cat) |
|||
| Line 1: | Line 1: | ||
| + | {| border="1" cellpadding="4" cellspacing="0" style="background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;" | ||
| + | |- style="background-color:#E9E9E9" | ||
| + | |align=center colspan="6"|'''By-election on {{{1}}}''' | ||
| + | {{#if: {{{2|}}} | {{{2}}} }} | ||
| + | |- style="background-color:#E9E9E9" | ||
| + | ! colspan="2" style="width: 220px"|Party | ||
| + | ! style="width: 185px"|Candidate | ||
| + | ! style="width: 60px"|Votes | ||
<noinclude> | <noinclude> | ||
| + | |} | ||
| + | |||
| + | {{documentation|content= | ||
| + | |||
This template creates the heading for a CanElec1 byelection table. | This template creates the heading for a CanElec1 byelection table. | ||
| Line 13: | Line 25: | ||
For each row (candidate/party/votes), use the <nowiki>{{CanElec1Row}}</nowiki> template. | For each row (candidate/party/votes), use the <nowiki>{{CanElec1Row}}</nowiki> template. | ||
| − | + | }} | |
| − | + | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
[[Category:Canada politics and government templates]] | [[Category:Canada politics and government templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 05:49, 9 December 2011
| By-election on {{{1}}} | |||||
| Party | Candidate | Votes | |||
|---|---|---|---|---|---|
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.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |