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

From blackwiki
Jump to navigation Jump to search
imported>Alexander Iskandar
(Created page with '{{Documentation subpage}} == Calculating Totals == {{Canadian election result/top/sandbox|ON|2011|Oak Ridges—Markham (provincial electoral district) |Oak Ridge...')
 
imported>Bearcat
(do not use a Canadian election template as an example here; it causes a cascading inclusion of this and related pages in a Canadian election templates category they don't belong in. use a Malaysian template or forget it.)
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}}
+
 
{{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 |NDP          |Joe Whitfeld                        |  8,548 | 13.26 |  +5.33 |        11,142.60 }}
 
{{CANelec/sandbox|ON |Green        |Trifon Haitas                        |  1,569 |  2.43 |  -4.01 |          350.00 }}
 
{{CANelec/sandbox|ON |Libertarian  |Karl Boelling                        |  1,057 |  1.64 | {{color|darkcyan|{{resize|160%|'''①'''}}}}     –   |          213.07 }}
 
{{CANelec/sandbox|XX |Independent  |Ruida Lu                            |    484 |  0.75 | {{color|darkcyan|{{resize|160%|'''②'''}}}}    |        2,766.14 }}
 
{{Canadian election result/total/sandbox|Total valid votes/Expense limit {{resize|160%|❻}} | {{resize|160%|❼}} 64,486 |{{nowrap|{{resize|160%|❽}} 100.0  }} | {{resize|160%|❾}} +8.85 | {{resize|160%|❿}} $180,834,78 }}
 
{{Canadian election result/total/sandbox|Total rejected ballots          | {{resize|200%|⓫}} 395 |  {{resize|200%|⓬}} 0.61  | {{resize|200%|⓭}} -0.13 | style="padding-top:0px; padding-bottom:0px; cellpadding:0px 0px 5px 5px;"}}
 
{{Canadian election result/total/sandbox|Turnout                        | {{resize|200%|⓮}} 64,881 | {{resize|200%|⓯}} 42.70  | {{resize|200%|⓰}} -5.07 |style=border-bottom:1px solid darkgray; }}
 
{{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|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}}
 
 
{| class=wikitable
 
{| class=wikitable
 
|-
 
|-

Revision as of 20:15, 16 December 2018

Calculating Totals

 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.