Template:Election results/doc

From Infarupedia

[[Category:Template documentation pages{{#translation:}}]]

Usage

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Party
Total
Blank votes0

</syntaxhighlight>

Examples

Presidential elections

<syntaxhighlight lang="wikitext" style="overflow: auto;">

CandidatePartyVotes%
Lee Teng-huiKuomintang5,813,69954.00
Peng Ming-minDemocratic Progressive Party2,274,58621.13
Lin Yang-kangIndependent1,603,79014.90
Chen Li-anIndependent1,074,0449.98
Total10,766,119100.00
Valid votes10,766,11998.92
Invalid/blank votes117,1601.08
Total votes10,883,279100.00
Registered voters/turnout14,313,28876.04
Source: CEC[1]
</syntaxhighlight>
CandidatePartyVotes%
Lee Teng-huiKuomintang5,813,69954.00
Peng Ming-minDemocratic Progressive Party2,274,58621.13
Lin Yang-kangIndependent1,603,79014.90
Chen Li-anIndependent1,074,0449.98
Total10,766,119100.00
Valid votes10,766,11998.92
Invalid/blank votes117,1601.08
Total votes10,883,279100.00
Registered voters/turnout14,313,28876.04
Source: CEC[1]

With a vice-presidential candidate

<syntaxhighlight lang="wikitext" style="overflow: auto;">

CandidateRunning matePartyVotes%
Lee Teng-huiLien ChanKuomintang5,813,69954.00
Peng Ming-minFrank HsiehDemocratic Progressive Party2,274,58621.13
Lin Yang-kangHau Pei-tsunIndependent1,603,79014.90
Chen Li-anWang Ching-fengIndependent1,074,0449.98
Total10,766,119100.00
Valid votes10,766,11998.92
Invalid/blank votes117,1601.08
Total votes10,883,279100.00
Registered voters/turnout14,313,28876.04
Source: CEC[2]
</syntaxhighlight>
CandidateRunning matePartyVotes%
Lee Teng-huiLien ChanKuomintang5,813,69954.00
Peng Ming-minFrank HsiehDemocratic Progressive Party2,274,58621.13
Lin Yang-kangHau Pei-tsunIndependent1,603,79014.90
Chen Li-anWang Ching-fengIndependent1,074,0449.98
Total10,766,119100.00
Valid votes10,766,11998.92
Invalid/blank votes117,1601.08
Total votes10,883,279100.00
Registered voters/turnout14,313,28876.04
Source: CEC[1]

With an 'against all' option

<syntaxhighlight lang="wikitext" style="overflow: auto;"> Template:Testcase table </syntaxhighlight>

CandidatePartyVotes%
Lee Teng-huiKuomintang5,813,69953.75
Peng Ming-minDemocratic Progressive Party2,274,58621.03
Lin Yang-kangIndependent1,603,79014.83
Chen Li-anIndependent1,074,0449.93
Against all50,0000.46
Total10,816,119100.00
Valid votes10,816,11998.93
Invalid/blank votes117,1601.07
Total votes10,933,279100.00
Registered voters/turnout14,313,28876.39
Source: CEC[1]

Two-round election

<syntaxhighlight lang="wikitext" style="overflow: auto;">

CandidatePartyFirst roundSecond round
Votes%Votes%
Alexander LukashenkoIndependent4,661,07587.095,000,00083.28
Sviatlana TsikhanouskayaIndependent588,62211.001,000,00016.66
Hanna KanapatskayaIndependent97,4891.82
Against all5,0000.094,0000.07
Total5,352,186100.006,004,000100.00
Valid votes5,352,18698.726,004,00099.01
Invalid/blank votes69,5051.2860,0000.99
Total votes5,421,691100.006,064,000100.00
Registered voters/turnout6,916,13478.397,000,00086.63
Source: CEC[3]
</syntaxhighlight>
CandidatePartyFirst roundSecond round
Votes%Votes%
Alexander LukashenkoIndependent4,661,07587.095,000,00083.28
Sviatlana TsikhanouskayaIndependent588,62211.001,000,00016.66
Hanna KanapatskayaIndependent97,4891.82
Against all5,0000.094,0000.07
Total5,352,186100.006,004,000100.00
Valid votes5,352,18698.726,004,00099.01
Invalid/blank votes69,5051.2860,0000.99
Total votes5,421,691100.006,064,000100.00
Registered voters/turnout6,916,13478.397,000,00086.63
Source: CEC[1]

Parliamentary election

<syntaxhighlight lang="wikitext" style="overflow: auto;">

File:Guernesey États 2020.svg
PartyVotes%+/–Seats+/–
Guernsey Partnership of Independents153,13624.01+5.0010New
Guernsey Party63,87310.02New6New
Alliance Party Guernsey21,4613.37−2.000
Independents399,30062.61+2.022−16
Appointed seats20
Total637,770100.00400
Valid votes24,47399.37
Invalid/blank votes1540.63
Total votes24,627100.00
Registered voters/turnout30,89979.70
Source: Guernsey Election Office[4]
</syntaxhighlight>
File:Guernesey États 2020.svg
PartyVotes%+/–Seats+/–
Guernsey Partnership of Independents153,13624.01+5.0010New
Guernsey Party63,87310.02New6New
Alliance Party Guernsey21,4613.37−2.00New
Independents399,30062.61+2.022−16
Appointed seats20
Total637,770100.00400
Valid votes24,47399.37
Invalid/blank votes1540.63
Total votes24,627100.00
Registered voters/turnout30,89979.70
Source: Guernsey Election Office[1]

Partial parliamentary election

<syntaxhighlight lang="wikitext" style="overflow: auto;">

PartyVotes%+/–Seats
Not upUpWonTotal+/−
Guernsey Partnership of Independents153,13670.57+5.0010111020−1
Guernsey Party63,87329.43+10.001091020+1
Total217,009100.00202020400
Valid votes24,47399.37
Invalid/blank votes1540.63
Total votes24,627100.00
Registered voters/turnout30,89979.70
Source: Guernsey Election Office[5]
</syntaxhighlight>
PartyVotes%+/–Seats
Not upUpWonTotal+/−
Guernsey Partnership of Independents153,13670.57+5.0010111020−1
Guernsey Party63,87329.43+10.001091020+1
Total217,009100.00202020400
Valid votes24,47399.37
Invalid/blank votes1540.63
Total votes24,627100.00
Registered voters/turnout30,89979.70
Source: Guernsey Election Office[1]

Individual constituency election

<syntaxhighlight lang="wikitext" style="overflow: auto;">

CandidatePartyVotes%+/–
Lee Teng-huiKuomintang5,813,69954.00+1.11
Peng Ming-minDemocratic Progressive Party2,274,58621.13−1.11
Lin Yang-kangIndependent1,603,79014.90New
Chen Li-anIndependent1,074,0449.98−10.0
Total10,766,119100.00
Valid votes10,766,11998.92
Invalid/blank votes117,1601.08
Total votes10,883,279100.00
Registered voters/turnout14,313,28876.04
Majority16,54416.44+1.44
Kuomintang gainSwing+1.24
</syntaxhighlight>
CandidatePartyVotes%+/–
Lee Teng-huiKuomintang5,813,69954.00+1.11
Peng Ming-minDemocratic Progressive Party2,274,58621.13−1.11
Lin Yang-kangIndependent1,603,79014.90New
Chen Li-anIndependent1,074,0449.98−10.0
Total10,766,119100.00
Valid votes10,766,11998.92
Invalid/blank votes117,1601.08
Total votes10,883,279100.00
Registered voters/turnout14,313,28876.04
Majority16,54416.44+1.44
Kuomintang gainSwing+1.24

Individual two-seat constituency election

With voters able to cast two votes. Divisor used to calculate 'true' percentages for the candidates (i.e. what % of valid ballots were cast for them)

<syntaxhighlight lang="wikitext" style="overflow: auto;">

CandidatePartyVotes%+/–
Lee Teng-huiKuomintang5,200,00096.30+1.11
Peng Ming-minDemocratic Progressive Party2,274,58642.12−1.11
Lin Yang-kangIndependent1,603,79029.70New
Chen Li-anIndependent1,074,04419.89−10.0
Total10,152,420100.00
Valid votes5,400,00097.88
Invalid/blank votes117,1602.12
Total votes5,517,160100.00
Registered voters/turnout14,313,28838.55
Majority16,54416.44+1.44
Kuomintang gainSwing+1.24
Majority14,00014.44+0.22
Democratic Progressive Party holdSwing+1.24
</syntaxhighlight>
CandidatePartyVotes%+/–
Lee Teng-huiKuomintang5,200,00096.30+1.11
Peng Ming-minDemocratic Progressive Party2,274,58642.12−1.11
Lin Yang-kangIndependent1,603,79029.70New
Chen Li-anIndependent1,074,04419.89−10.0
Total10,152,420100.00
Valid votes5,400,00097.88
Invalid/blank votes117,1602.12
Total votes5,517,160100.00
Registered voters/turnout14,313,28838.55
Majority16,54416.44+1.44
Kuomintang gainSwing+1.24
Majority14,00014.44+0.22
Democratic Progressive Party holdSwing+1.24