Difference between revisions of "Template:CANelec/doc"
Jump to navigation
Jump to search
imported>Arctic.gnome (remove header) |
imported>Arctic.gnome (wording) |
||
| Line 1: | Line 1: | ||
<templatedata>{ | <templatedata>{ | ||
| − | "description": " | + | "description": "This template produces one row in a table of Canadian election results ", |
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Jurisdiction", | "label": "Jurisdiction", | ||
| − | "description": " | + | "description": "For a province/territory, the two-letter code. For the federal level, 'CA'. For a city, the three-letter code", |
"type": "string/line", | "type": "string/line", | ||
"default": "", | "default": "", | ||
| Line 25: | Line 25: | ||
"4": { | "4": { | ||
"label": "Votes", | "label": "Votes", | ||
| − | "description": "Number of | + | "description": "Number of votes won by the candidate.", |
"type": "string/line", | "type": "string/line", | ||
"default": "", | "default": "", | ||
Revision as of 15:30, 17 October 2013
This template produces one row in a table of Canadian election results
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Jurisdiction | 1 | For a province/territory, the two-letter code. For the federal level, 'CA'. For a city, the three-letter code
| 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. 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 |