Difference between revisions of "Template:CANelec/doc"
Jump to navigation
Jump to search
imported>Arctic.gnome (wording) |
imported>Arctic.gnome (re-word description) |
||
| Line 4: | Line 4: | ||
"1": { | "1": { | ||
"label": "Jurisdiction", | "label": "Jurisdiction", | ||
| − | "description": " | + | "description": "Use two-letter codes. Canada=CA, Ontario=ON, PEI=PE, etc. For cities, use three-letter codes.", |
"type": "string/line", | "type": "string/line", | ||
"default": "", | "default": "", | ||
Revision as of 18:18, 23 April 2015
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. 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 |