From Wikipedia, the free encyclopedia
[[{{{1}}} election]] | ||||||||
---|---|---|---|---|---|---|---|---|
Party | Candidate | % | ±% | Expenditures |
TemplateData for Canadian election result/top
ചരം | വിവരണം | തരം | സ്ഥിതി | |
---|---|---|---|---|
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.
| വരി | ഐച്ഛികം |
Begin each table with {{Canadian election result/top}}.
The first thing that needs to be specified is whether this is a federal election, or provincial or territorial.
Use the standard two-letter codes for postal abbreviations or second-level domains of the .ca
country-code domain. A table is given at the bottom of this page.
Use {{Canadian election result/top|jurisdiction|election}}
. The jurisdiction field should be the two-letter code and the election field should be the year.
For example, {{Canadian election result/top|MB|2011}}
gives:
2011 Manitoba general election | ||||||||
---|---|---|---|---|---|---|---|---|
Party | Candidate | Votes |
Use {{Canadian election result/top|jurisdiction|election|riding|riding display}}
. The riding display
field can be omitted when the riding's article name does not contain disambiguation.
For example, {{Canadian election result/top|CA|2008|Barrie (electoral district)|Barrie}}
gives:
2008 Canadian federal election: Barrie | ||||||||
---|---|---|---|---|---|---|---|---|
Party | Candidate | Votes |
Extra columns can be added to provide additional dato. For example, {{Canadian election result/top|CA|2006|Toronto—Danforth|percent=yes|change=yes|expenditures=yes}}
gives:
2011 Canadian federal election: Toronto—Danforth | ||||||||
---|---|---|---|---|---|---|---|---|
Party | Candidate | Votes | % | ±% | Expenditures |
jurisdiction=
.ca
. Note that for Newfoundland and Labrador elections before 2001, the code is NF
rather than NL
.election=
riding=
Barrie (electoral district)
riding_display=
Barrie
reason=upon the resignation of Jon Doe
.yes
, auto
, or no
. These correspond to initial states of "collapsed", "autocollapse", or none, as documented at Help:Collapsing. 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.Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.