Difference between revisions of "Template:Election results/doc"
Jump to navigation
Jump to search
imported>Number 57 (+) |
imported>Yilku1 m |
||
| Line 159: | Line 159: | ||
{{Testcase table | {{Testcase table | ||
|party1=[[Kuomintang|Kuomintang]] | |party1=[[Kuomintang|Kuomintang]] | ||
| − | |cand1=[[ | + | |cand1=[[Lee Teng-hui]] |
|votes1=5813699 | |votes1=5813699 | ||
|party2=[[Democratic Progressive Party|Democratic Progressive Party]] | |party2=[[Democratic Progressive Party|Democratic Progressive Party]] | ||
| − | |cand2=[[ | + | |cand2=[[Peng Ming-min]] |
|votes2=2274586 | |votes2=2274586 | ||
|party3=[[Independent politician|Independent]] | |party3=[[Independent politician|Independent]] | ||
| − | |cand3=[[ | + | |cand3=[[Lin Yang-kang]] |
|votes3=1603790 | |votes3=1603790 | ||
|party4=[[Independent politician|Independent]] | |party4=[[Independent politician|Independent]] | ||
| − | |cand4=[[ | + | |cand4=[[Chen Li-an]] |
|votes4=1074044 | |votes4=1074044 | ||
| Line 193: | Line 193: | ||
|party3=[[Independent politician|Independent]] | |party3=[[Independent politician|Independent]] | ||
| − | |cand3=[[ | + | |cand3=[[Lin Yang-kang]] |
|votes3=1603790 | |votes3=1603790 | ||
|party4=[[Independent politician|Independent]] | |party4=[[Independent politician|Independent]] | ||
| − | |cand4=[[ | + | |cand4=[[Chen Li-an]] |
|votes4=1074044 | |votes4=1074044 | ||
| Line 216: | Line 216: | ||
{{Election results | {{Election results | ||
|party1=[[Independent politician|Independent]] | |party1=[[Independent politician|Independent]] | ||
| − | |cand1=[[ | + | |cand1=[[Alexander Lukashenko]] |
|votes1=4661075 | |votes1=4661075 | ||
|votes1_2=5000000 | |votes1_2=5000000 | ||
|party2=[[Independent politician|Independent]] | |party2=[[Independent politician|Independent]] | ||
| − | |cand2=[[ | + | |cand2=[[Sviatlana Tsikhanouskaya]] |
|votes2=588622 | |votes2=588622 | ||
|votes2_2=1000000 | |votes2_2=1000000 | ||
|party3=[[Independent politician|Independent]] | |party3=[[Independent politician|Independent]] | ||
| − | |cand3=[[ | + | |cand3=[[Hanna Kanapatskaya]] |
|votes3=97489 | |votes3=97489 | ||
| Line 252: | Line 252: | ||
|party3=[[Independent politician|Independent]] | |party3=[[Independent politician|Independent]] | ||
| − | |cand3=[[ | + | |cand3=[[Hanna Kanapatskaya]] |
|votes3=97489 | |votes3=97489 | ||
Revision as of 00:45, 19 October 2020
| 40px | This is a documentation subpage for Template:Election results. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Contents
How to use this template
{{Election results
|caption= <!--Heading for the table-->
|image= <!--Insert parliamentary diagrams here-->
|party1= <!--If party has an article, use a standard Wikilink, e.g. [[Labour Party (UK)|Labour Party]]. If there is no article, only use the party name-->
|cand1= <!--Wikilink to candididate's name, or just write out the name if no article exists)-->
|vp1= <!--Wikilink to candididate's name, or just write out the name if no article exists)-->
|votes1= <!--Votes received by first candidate or party-->
|votes1_2= <!--Second round votes received by first candidate or party-->
|sw1= <!--Swing for first party or candidate-->
|seats1= <!--Seats won by first party-->
|sc1= <!--Seat change of first party compared to previous election-->
|color1= <!--Manual entry of colour if no meta template exists or need to override the meta template-->
|row3= <!--Non-party rows such as 'Against all', 'None of the above' or 'Appointed seats'-->
|votes3= <!--Number of votes received by 'Against all' or 'None of the above'-->
|votes3_2= <!--Number of votes received by 'Against all' or 'None of the above' in the second round-->
|seats3= <!--Number of seats for this row (if appointed seats)-->
|sc3= <!--Seat change for this row (if appointed seats)-->
|total_sc= <!--Change in total number of seats available-->
|valid= <!--Number of valid votes if different to party totals – only needed where voters can cast more than one vote in a constituency-->
|validsw= <!--Change in the percentage of valid votes compared to the previous election-->
|invalid= <!--Number of invalid and blank votes-->
|invalidsw= <!--Change in the percentage of invalid votes compared to the previous election-->
|blank=y <!--To be used when blank votes are counted as valid votes; turns 'Invalid/blank votes' to 'Invalid votes'-->
|totalvotes= <!--Total votes cast when the valid/invalid split is unknown-->
|electorate= <!--Number of registered voters-->
|turnout= <!--Manual entry of voter turnout when registered voters is unknown. Overrides and hides any entry of electorate-->
|turnoutsw= <!--Change in the turnout percentage compared to the previous election-->
|valid2= <!--Number of valid ballots cast in the second round – ONLY NEEDED FOR PARLIAMENTARY ELECTIONS-->
|invalid2= <!--Number of invalid and blank votes in the second round-->
|electorate2= <!--Number of registered voters in the second round-->
|turnout2= <!--Manual entry of voter turnout in second round when registered voters is unknown-->
|source= <!--Source(s) for the results-->
}}
Examples
Presidential elections
{{Election results
|party1=[[Kuomintang|Kuomintang]]
|cand1=[[Lee Teng-hui]]
|votes1=5813699
|party2=[[Democratic Progressive Party]]
|cand2=[[Peng Ming-min]]
|votes2=2274586
|party3=[[Independent politician|Independent]]
|cand3=[[Lin Yang-kang]]
|votes3=1603790
|party4=[[Independent politician|Independent]]
|cand4=[[Chen Li-an]]
|votes4=1074044
|invalid=117160
|electorate=14313288
|source=[https://www.cec.gov.tw/english/cms/pe/24830 CEC]
}}
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
With a vice-presidential candidate
{{Election results
|party1=[[Kuomintang|Kuomintang]]
|cand1=[[Lee Teng-hui]]
|vp1=[[Lien Chan]]
|votes1=5813699
|party2=[[Democratic Progressive Party]]
|cand2=[[Peng Ming-min]]
|vp2=[[Frank Hsieh]]
|votes2=2274586
|party3=[[Independent politician|Independent]]
|cand3=[[Lin Yang-kang]]
|vp3=[[Hau Pei-tsun]]
|votes3=1603790
|party4=[[Independent politician|Independent]]
|cand4=[[Chen Li-an]]
|vp4=[[Wang Ching-feng]]
|votes4=1074044
|invalid=117160
|electorate=14313288
|source=[https://www.cec.gov.tw/english/cms/pe/24830 CEC]
}}
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
With an 'against all' option
{{Testcase table
|party1=[[Kuomintang|Kuomintang]]
|cand1=[[Lee Teng-hui]]
|votes1=5813699
|party2=[[Democratic Progressive Party|Democratic Progressive Party]]
|cand2=[[Peng Ming-min]]
|votes2=2274586
|party3=[[Independent politician|Independent]]
|cand3=[[Lin Yang-kang]]
|votes3=1603790
|party4=[[Independent politician|Independent]]
|cand4=[[Chen Li-an]]
|votes4=1074044
|row5=Against all
|votes5=50000
|invalid=117160
|electorate=14313288
|source=[https://www.cec.gov.tw/english/cms/pe/24830 CEC]
}}
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Two-round election
{{Election results
|party1=[[Independent politician|Independent]]
|cand1=[[Alexander Lukashenko]]
|votes1=4661075
|votes1_2=5000000
|party2=[[Independent politician|Independent]]
|cand2=[[Sviatlana Tsikhanouskaya]]
|votes2=588622
|votes2_2=1000000
|party3=[[Independent politician|Independent]]
|cand3=[[Hanna Kanapatskaya]]
|votes3=97489
|row4=Against all
|votes4=5000
|votes4_2=4000
|invalid=69505
|invalid2=60000
|electorate=6916134
|electorate2=7000000
|source=[https://vybary2020.by/ CEC]
}}
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parliamentary election
{{Election results
|image=[[File:Guernesey États 2020.svg]]
|party1=[[Kuomintang]]
|votes1=153136
|seats1=10
|sw1=+5.00
|sc1=+5
|party2=[[Democratic Progressive Party]]
|votes2=63873
|sw2=New
|seats2=6
|sc2=New
|party3=[[Alliance Party Guernsey]]
|votes3=21461
|sw3=–2.0
|seats3=0
|sc3=0
|color3=#E80F2E
|party4=Independents
|votes4=399300
|sw4=+2.0
|seats4=22
|sc4=–16
|row5=Appointed seats
|seats5=2
|sc5=0
|total_sc=0
|valid=24560
|invalid=87
|electorate=30899
|source=[https://election2020.gg/ Guernsey Election Office]
}}
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||