साँचा:Canadian election result/top/doc
The header for a table of the Canadian election results
पैरामीटर | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
Jurisdiction | 1 | The two-letter code for a province/territory, the three-letter code for a city, or CA for federal.
| पंक्ति | आवश्यक |
Election | 2 | The four-digit year for a general election, or some other text (for example a full date) for a by-election.
| पंक्ति | आवश्यक |
Riding | 3 | The full title of a Wikipedia article about a riding. For example: 'Barrie (electoral district)'
| पंक्ति | वैकल्पिक |
Riding display | 4 | The displayed text for the riding name, if different from the above. For example: 'Barrie'.
| पंक्ति | वैकल्पिक |
By-election | by | Set to 'yes' for by-elections. When using this, give the full date of the by-election rather than just the year.
| पंक्ति | वैकल्पिक |
By-election link | by-link | Pagename for by-election.
| पृष्ठ का नाम | वैकल्पिक |
Reason | reason | Text describing reason for by-election, added on line below main title. For example: 'Resignation of [[Bugs Bunny]]'
| पंक्ति | वैकल्पिक |
Add percent column | percent | Set to 'yes' to add a column with the heading '%'.
| पंक्ति | वैकल्पिक |
Add change column | change | Set to 'yes' to add a column with the heading '∆%'.
| पंक्ति | वैकल्पिक |
Add expenditures column | expenditures | Set to 'yes' to add a column with the heading 'Expenditures'.
| पंक्ति | वैकल्पिक |
Add elected column | elected | Set to 'yes' for ridings that elect multiple members off of one ballot to add a column for with the heading 'Elected'.
| पंक्ति | वैकल्पिक |
Add 1st ballot column | 1st | Set to 'yes' for ridings with multiple-rounds of voting to create a column for the first round of voting.
| पंक्ति | वैकल्पिक |
Add final ballot column | final | Set to 'yes' for ridings with multiple-rounds of voting to create a column for the final round of voting.
| पंक्ति | वैकल्पिक |
Add second percent column | percent2 | Set to 'yes' for ridings with multiple-rounds of voting to add a column for percents for the final round.
| पंक्ति | वैकल्पिक |
Mark as multi-ballot riding | ballot | Set to A, B, or C for ridings that run multiple ballots each with a different slate of candidates during each election. It will only change the links in the heading.
| पंक्ति | वैकल्पिक |
''Future'' election date | on | The date of an upcoming election “YYYY-MM-DD” (or other machine interpretable date) to add a coloured title line “The YYYY general/municipal election will be held on Month day.” or (if parameter by=yes) “The by-election will be held on Month day, year.”
| स्ट्रिंग | वैकल्पिक |
Note results ''Preliminary'' | prelim | Setting any value other than “no” adds the large title line “ ** Preliminary results — Not yet official ** ”
| पंक्ति | वैकल्पिक |
collapsed | collapsed | The table is by default collapsible. You can set the initial collapsedness to 'yes', 'auto', or 'no'. These correspond to initial states of 'collapsed', 'autocollapse', or 'none', respectively. For instance, if an article about a riding has a long list of election results from years past, you may want to have the first one display (for the most recent election) but keep the previous election years collapsed.
| पंक्ति | वैकल्पिक |