Difference between revisions of "Template:Canadian election result/total/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style for better HTML5 compatibility)
imported>Bearcat
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
== Calculating Totals ==
 
== Calculating Totals ==
{{Canadian election result/top/sandbox|ON|2011|Oak Ridges—Markham (provincial electoral district) |Oak Ridges—Markham |percent=yes|change=yes|expenditures=yes}}
+
{{suppress categories|{{Canadian election result/top/sandbox|ON|2011|Oak Ridges—Markham (provincial electoral district) |Oak Ridges—Markham |percent=yes|change=yes|expenditures=yes}}
 
{{CANelec/sandbox|ON |Liberal      |{{nowrap|[[Helena Jaczek]] {{resize|160%|❶}}}}    | {{resize|160%|❷}} 28,878 | {{resize|160%|❸}} 44.78 | {{resize|160%|❹}} -3.43 | {{nowrap|{{resize|160%|❺}} $  83,066.00 }}}}
 
{{CANelec/sandbox|ON |Liberal      |{{nowrap|[[Helena Jaczek]] {{resize|160%|❶}}}}    | {{resize|160%|❷}} 28,878 | {{resize|160%|❸}} 44.78 | {{resize|160%|❹}} -3.43 | {{nowrap|{{resize|160%|❺}} $  83,066.00 }}}}
 
{{CANelec/sandbox|ON |PC          |Farid Wassef                        | 23,950 | 37.14 |  +1.07 |      146,606.59 }}
 
{{CANelec/sandbox|ON |PC          |Farid Wassef                        | 23,950 | 37.14 |  +1.07 |      146,606.59 }}
Line 13: Line 13:
 
{{Canadian election result/total/sandbox|Eligible voters                | {{resize|200%|⓱}} 151,959 | {{nowrap|{{resize|200%|⓲}}  }}| {{nowrap|{{resize|200%|⓳}} +21.63}} |style=border-top:1px solid darkgray; border-bottom:none; |style3=text-align:center;}}
 
{{Canadian election result/total/sandbox|Eligible voters                | {{resize|200%|⓱}} 151,959 | {{nowrap|{{resize|200%|⓲}}  }}| {{nowrap|{{resize|200%|⓳}} +21.63}} |style=border-top:1px solid darkgray; border-bottom:none; |style3=text-align:center;}}
 
{{Canadian election result/source/sandbox|{{resize|200%|⓴}} {{big|''** Preliminary results — Not yet official **''}} |style=text-align:center}}
 
{{Canadian election result/source/sandbox|{{resize|200%|⓴}} {{big|''** Preliminary results — Not yet official **''}} |style=text-align:center}}
{{Canadian election result/source/sandbox|Sources:{{cite web |url=http://www.elections.on.ca/NR/rdonlyres/7849B894-4C4F-490E-9E8C-271BCF0C0D4D/5712/SummaryofvalidvotescastforeacndGE2011.pdf |title=Summary of valid votes cast for each candidate – October 6, 2011 General Election |publisher=[[Elections Ontario]] |date=2011-11-18 |accessdate=2014-05-23}}<br />{{cite web |url=http://www.elections.on.ca/NR/rdonlyres/7849B894-4C4F-490E-9E8C-271BCF0C0D4D/5720/ElectionSummary71KBExcel.xls |type=[[File:Microsoft_Excel_2013_logo.svg|15px]] Excel Spreadsheet |title=Statistical Summary |date=2013-10-01 |publisher=[[Elections Ontario]] |accessdate=2014-05-23}}<br />{{cite web |url=http://www.elections.on.ca/en-CA/Tools/FinancialStatementsandContributions/FilingStatus/2011CandidateCampaignReturns.htm |title=2011 Candidate Campaign Returns - CR-1  |publisher=[[Elections Ontario]]}} |style=border-top:1px solid darkgray;}}
+
{{Canadian election result/source/sandbox|Sources:{{cite web |url=http://www.elections.on.ca/NR/rdonlyres/7849B894-4C4F-490E-9E8C-271BCF0C0D4D/5712/SummaryofvalidvotescastforeacndGE2011.pdf |title=Summary of valid votes cast for each candidate – October 6, 2011 General Election |publisher=[[Elections Ontario]] |date=2011-11-18 |accessdate=2014-05-23}}<br />{{cite web |url=http://www.elections.on.ca/NR/rdonlyres/7849B894-4C4F-490E-9E8C-271BCF0C0D4D/5720/ElectionSummary71KBExcel.xls |type=[[File:Microsoft_Excel_2013_logo.svg|15px]] Excel Spreadsheet |title=Statistical Summary |date=2013-10-01 |publisher=[[Elections Ontario]] |accessdate=2014-05-23}}<br />{{cite web |url=http://www.elections.on.ca/en-CA/Tools/FinancialStatementsandContributions/FilingStatus/2011CandidateCampaignReturns.htm |title=2011 Candidate Campaign Returns - CR-1  |publisher=[[Elections Ontario]]}} |style=border-top:1px solid darkgray;}}}}
 
{{end}}
 
{{end}}
 
{| class=wikitable
 
{| class=wikitable

Revision as of 20:21, 16 December 2018

Calculating Totals

2011 Ontario general election: Oak Ridges—Markham
Party Candidate Votes % ± (pp) Expenditures
Liberal Helena Jaczek 28,878 44.78 -3.43 $  83,066.00
Progressive Conservative Farid Wassef 23,950 37.14 +1.07 146,606.59
New Democratic Joe Whitfeld 8,548 13.26 +5.33 11,142.60
Green Trifon Haitas 1,569 2.43 -4.01 350.00
Libertarian Karl Boelling 1,057 1.64     –   213.07
Independent Ruida Lu 484 0.75     2,766.14
Total valid votes/Expense limit 64,486  100.0   +8.85 $180,834,78
Total rejected ballots 395 0.61 -0.13
Turnout 64,881 42.70 -5.07
Eligible voters 151,959   +21.63
** Preliminary results — Not yet official **
Sources:"Summary of valid votes cast for each candidate – October 6, 2011 General Election" (PDF). Elections Ontario. 2011-11-18. Retrieved 2014-05-23.
"Statistical Summary" (Microsoft Excel 2013-2019 logo.svg Excel Spreadsheet). Elections Ontario. 2013-10-01. Retrieved 2014-05-23.
"2011 Candidate Campaign Returns - CR-1". Elections Ontario.
 Item  Source / Formula
   Candidates List candidates in order used in official list  (e.g. http://wemakevotingeasy.ca/en/electoral-districts/059-oak-ridges-markham.aspx)
List election results in descending order of number of votes  (i.e. Winner first)
Votes From Summary of valid ballots by candidate report
elections.caelections.ab.cawww.elections.gov.nl.caelections.on.ca
% ❷ ÷ ❼ × 100 rounded to 2 decimal places
∆% current ❸ − previous  Note: A ⃝
For & , if Party (or same Independent candidate) didn't run last time, use "&nbsp;"; if unchanged from previous, use "  " (&ndash; &nbsp;)
A ⃝ Occasionally column does not balance due to rounding errors.  Check if:   ( ❹ + numbers in where is blank (i.e. new candidates) previous  that didn't run this time ) ≠ 0
If there are rounding issues (i.e. above totals ±0.01/±0.02) then recalculate each without rounding errors using the formula:   ( ( previous ❷ ÷ previous  ) ( current ❷ ÷ current  ) ) × 100 then rounded to 2 decimals
Expenditures From Candidate Campaign Returns - CR-1, individual candidate Financial Statements, financial summary reports (by party/candidate) (or other similar late stage reports) might be published a year after the election Until expenditure figures are published, avoid including the blank column in tables.
Totals caption Add suffix "/Expense limit" if "|expenditures=yes" in CANelec/top (causing "Expenditures" column to be displayed)
Total Votes = Balance in Statistical Summary
Total % = 100.0    Note it's "{{nowrap|100.0 &nbsp;}}" not "100.00" because .0 vs .00 solves occasional rounding issues & " &nbsp;" aligns decimals
Total ∆% ( current  previous ❼ ) ÷ previous ❼ × 100    +Increase /−Decrease in number of (valid) votes cast
Expense limit Identified in Campaign Returns / Financial Statements and/or separate reports/statements of expense & contribution limits
Rejected Votes number of rejected, unmarked, & cancelled ballots from Statistical Summary
Rejected % ÷ × 100
Rejected ∆% current ⓬ − previous 
Votes Turnout = +    matches Statistical Summary
% Turnout ÷ × 100 matches Statistical Summary but calculate to 2 decimals
∆% Turnout current  previous 
Eligible Votes from Statistical Summary Total number of names Registered + Revision
Eligible % Blank ("&nbsp;")
Eligible ∆% ( current  previous  ) ÷ previous × 100    +Increase /−Decrease in number of eligible voters
Prelim This note should be included until official results are published/updated in table.
Use the parameter "prelim=yes" in the /source or /note templates or in the /top template to add this preformatted message.