Difference between revisions of "Template:CANelec/doc"
Jump to navigation
Jump to search
imported>Arctic.gnome (remove header) |
imported>WOSlinker m (add {{documentation subpage}}) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{documentation subpage}} | ||
<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": "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": "", | ||
| Line 25: | Line 26: | ||
"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": "", | ||
Latest revision as of 19:01, 29 October 2018
| This is a documentation subpage for Template:CANelec. It contains 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. 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 |