Template:CANelec/doc
![]() | This is a documentation subpage for Template:CANelec. It may contain usage information, categories and other content that is not part of the original template page. |
This template produces one row in a table of Canadian election results
Parameter | Description | Type | Status | |
---|---|---|---|---|
Jurisdiction | 1 | Use two-letter codes. Canada=CA, Ontario=ON, PEI=PE, etc. For cities, use three-letter codes. | Line | required |
Party | 2 | Short-form name of the candidate's political party | Line | required |
Candidate | 3 | Name of the candidate. Can be wikilinked. | Line | optional |
Votes | 4 | Number of votes won by the candidate. | Line | optional |
4th column | 5 | Adds text to the 4th column. Most often this is used for percentage of the total vote, but check the table's headings to see what information belongs in this column. | Line | optional |
5th column | 6 | Adds text to the 5th column. Check the table's headings to see what information belongs in this column. | Line | optional |
6th column | 7 | Adds text to the 6th column. Check the table's headings to see what information belongs in this column. | Line | optional |
Elected | elected | Used for ridings that elect multiple candidates on one ballot. Write 'yes' to add a checkmark in the last column. | Line | optional |