Jump to content

Template:CANelec/doc

From Simple English Wikipedia, the free encyclopedia

<templatedata>{ "description": "This template produces one row in a table of Canadian election results ", "params": {

 "1": {
   "label": "Jurisdiction",
   "description": "Use two-letter codes. Canada=CA, Ontario=ON, PEI=PE, etc. For cities, use three-letter codes.",
   "type": "string/line",
   "default": "",
   "required": true
 },
 "2": {
   "label": "Party",
   "description": "Short-form name of the candidate's political party",
   "type": "string/line",
   "default": "",
   "required": true
 },
 "3": {
   "label": "Candidate",
   "description": "Name of the candidate. Can be wikilinked.",
   "type": "string/line",
   "default": "",
   "required": false
 },
 "4": {
   "label": "Votes",
   "description": "Number of votes won by the candidate.",
   "type": "string/line",
   "default": "",
   "required": false
 },
 "5": {
   "label": "4th column",
   "description": "Adds text to the 4th column. Check the table's headings to see what information belongs in this column.",
   "type": "string/line",
   "default": "",
   "required": false
 },
 "6": {
   "label": "5th column",
   "description": "Adds text to the 5th column. Check the table's headings to see what information belongs in this column.",
   "type": "string/line",
   "default": "",
   "required": false
 },
 "7": {
   "label": "6th column",
   "description": "Adds text to the 6th column. Check the table's headings to see what information belongs in this column.",
   "type": "string/line",
   "default": "",
   "required": false
 },
 "elected": {
   "label": "Elected",
   "description": "Used for ridings that elect multiple candidates on one ballot. Write 'yes' to add a checkmark in the last column.",
   "type": "string/line",
   "default": "",
   "required": false
 }

}}</templatedata>