模板:Election results
政黨 | |
---|---|
總共 |
此模板使用Lua語言: |
參數及使用方法
{{Election results |caption= <!--Heading for the table--> |image= <!--Insert parliamentary diagrams here--> |candtitle= <!--Custom heading for candidate column in DSV elections--> |partytitle= <!--Custom heading for party or party/alliances column--> |firstround= <!--Changes heading from 'First round' to text specified--> |secondround= <!--Changes heading from 'Second round' to text specified--> |acolor1= <!--When used with rows without alliances: Background colour for the row--> |party1= <!--Political party. 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--> |color1= <!--Manual entry for colour of party if no meta template exists--> |alliance1= <!--Alliance. 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--> |acolor1= <!--When used with alliances: Manual entry of colour of alliance if no meta template exists--> |aspan1= <!--Number of rows of alliance parties, possibly including a total--> |cand1= <!--Candidate. Wikilink to candididate's name, or just write out the name if no article exists)--> |vp1= <!--Candidate. 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--> |ivotes1= <!--Produces vote figure in italics that does not count towards total. Used when not all votes are known or as a subtotal row--> |ivotes1_2= <!--Produces vote figure in italics for second round that does not count towards total. Used when not all votes are known or as a subtotal row--> |ipct1= <!--Produces percentage in italics when total votes are not known and cannot be calculated automatically--> |ipct1_2= <!--Produces percentage in italics for second round when total votes are not known and cannot be calculated automatically--> |vspan1= <!--Allows vote figures to be spanned across multiple lines if not known for individual parties) |atotal1= <!--Total votes received by the alliance--> |apct1= <!--Total percentage received by the alliance when it cannot be automatically calculated--> |atotalnv= <!--Use (with =y) when there are no vote figures available to invoke a total row for an alliance--> |apct1_2= <!--Total percentage received by the alliance in second round when it cannot be automatically calculated--> |sw1= <!--Swing for first party or candidate--> |sw1_2= <!--Swing for first party or candidate in first round--> |seats1= <!--Seats won by first party--> |seats1_2= <!--Seats won by first party in second round--> |totseats1= <!--Total seats won by first party in two-round/part elections--> |iseats1= <!--Produces seat figure in italics that does not count towards total. Used when not all seats are known or as a subtotal row--> |iseats1_2= <!--Produces seat figure in italics for second round that does not count towards total. Used when not all seats are known or as a subtotal row--> |aseats1= <!--Seat total for an alliance--> |aseats1_2= <!--Seat total for an alliance in second round--> |itotseats1= <!--Produces seat total in italics that does not count towards total--> |atotseats1= <!--Total seats won by first alliance in two-round/part elections--> |sc1= <!--Seat change of first party compared to previous election--> |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. Do not use for single-candidate elections--> |invalid= <!--Number of invalid and blank votes--> |invalidsw= <!--Change in the percentage of invalid votes compared to the previous election. Do not use for single-candidate elections--> |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. Do not use for single-candidate elections--> |valid2= <!--Number of valid ballots cast in the second round – only needed where voters can cast more than one vote in a constituency--> |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--> |result= <!--For displaying results of individual constituency elections--> |majority= <!--Majority of the winning candidate--> |majoritypct= <!--Majority of the winning candidate--> |majoritysw= <!--Swing of the majority of the winning candidate--> |result2= <!--For displaying results of a second seat--> |majority2= <!--Majority of the second winning candidate--> |majoritypct2= <!--Majority of the second winning candidate--> |majoritysw2= <!--Swing of the majority of the second winning candidate--> |resultsw= <!--Overall swing to the winning candidate--> |resultsw2= <!--Overall swing to the second winning candidate--> |source= <!--Source(s) for the results--> }}
範例
總統選舉
{{Election results | party1 = [[中國國民黨|國民黨]] | cand1 = [[李登輝]] | votes1 = 5813699 | party2 = [[民主進步黨|民進黨]] | cand2 = [[彭明敏]] | votes2 = 2274586 | party3 = [[無黨籍]] | cand3 = [[林洋港]] | votes3 = 1603790 | party4 = [[無黨籍]] | cand4 = [[陳履安]] | votes4 = 1074044 | invalid = 117160 | electorate = 14313288 | source = [https://www.cec.gov.tw/english/cms/pe/24830 CEC] }} |
|
與副總統候選人
{{Election results | party1 = [[中國國民黨|國民黨]] | cand1 = [[李登輝]] | vp1 = [[連戰]] | votes1 = 5813699 | party2 = [[民主進步黨|民進黨]] | cand2 = [[彭明敏]] | vp2 = [[謝長廷]] | votes2 = 2274586 | party3 = [[無黨籍]] | cand3 = [[林洋港]] | vp3 = [[郝柏村]] | votes3 = 1603790 | party4 = [[無黨籍]] | cand4 = [[陳履安]] | vp4 = [[王清峰]] | votes4 = 1074044 | invalid = 117160 | electorate = 14313288 | source = [https://www.cec.gov.tw/english/cms/pe/24830 CEC] }} |
|
以上皆非選項
{{Election results | party1 = [[中國國民黨|國民黨]] | cand1 = [[李登輝]] | votes1 = 5813699 | party2 = [[民主進步黨|民進黨]] | cand2 = [[彭明敏]] | votes2 = 2274586 | party3 = [[無黨籍]] | cand3 = [[林洋港]] | votes3 = 1603790 | party4 = [[無黨籍]] | cand4 = [[陳履安]] | votes4 = 1074044 | row5 = 以上皆非 | votes5 = 50000 | invalid = 117160 | electorate = 14313288 | source = [https://www.cec.gov.tw/english/cms/pe/24830 CEC] }} |
|
兩輪選舉
{{Election results | party1 = [[無黨籍]] | cand1 = [[亚历山大·格里戈里耶维奇·卢卡申科|亚历山大·卢卡申科]] | votes1 = 4661075 | votes1_2 = 5000000 | party2 = [[無黨籍]] | cand2 = [[斯维特兰娜·格奥尔基耶娃·季哈诺夫斯卡娅|斯维特兰娜·季哈诺夫斯卡娅]] | votes2 = 588622 | votes2_2 = 1000000 | party3 = [[無黨籍]] | cand3 = {{link-ru|安娜·卡诺帕茨卡娅|Канопацкая, Анна Анатольевна}} | votes3 = 97489 | row4 = 以上皆非 | votes4 = 5000 | votes4_2 = 4000 | invalid = 69505 | invalid2 = 60000 | electorate = 6916134 | electorate2 = 7000000 | source = [https://vybary2020.by/ CEC] }} |
|
議會選舉
{{Election results | image = [[File:Guernesey États 2020.svg]] | party1 = [[中國國民黨|國民黨]] | votes1 = 153136 | seats1 = 10 | sw1 = +5.00 | sc1 = +5 | party2 = [[民主進步黨|民進黨]] | votes2 = 63873 | sw2 = 新 | seats2 = 6 | sc2 = 新 | party3 = [[根西聯盟黨]] | votes3 = 21461 | sw3 = –2.0 | seats3 = 0 | sc3 = 0 | color3 = #E80F2E | party4 = 無黨籍 | votes4 = 399300 | sw4 = +2.0 | seats4 = 22 | sc4 = –16 | row5 = 指定座席 | seats5 = 2 | sc5 = 0 | total_sc = 0 | valid = 24560 | invalid = 87 | electorate = 30899 | source = [https://election2020.gg/ 根西島選舉辦公室] }} |
|
個別選區的選舉
{{Election results | party1 = [[中國國民黨|國民黨]] | cand1 = [[李登輝]] | votes1 = 5813699 | sw1 = +1.11 | party2 = [[民主進步黨|民進黨]] | cand2 = [[彭明敏]] | votes2 = 2274586 | sw2 = -1.11 | party3 = [[無黨籍]] | cand3 = [[林洋港]] | votes3 = 1603790 | sw3 = 新 | party4 = [[無黨籍]] | cand4 = [[陳履安]] | votes4 = 1074044 | sw4 = -10.0 |invalid = 117160 |electorate = 14313288 |result = [[中國國民黨|國民黨]] 获得 |majority = 16544 |majoritypct = 16.44 |majoritysw = +1.44 |resultsw = +1.24 }} |
|
個別兩席選區的選舉
{{Election results | party1 = [[中國國民黨|國民黨]] | cand1 = [[李登輝]] | votes1 = 5813699 | sw1 = +1.11 | party2 = [[民主進步黨|民進黨]] | cand2 = [[彭明敏]] | votes2 = 2274586 | sw2 = -1.11 | party3 = [[無黨籍]] | cand3 = [[林洋港]] | votes3 = 1603790 | sw3 = 新 | party4 = [[無黨籍]] | cand4 = [[陳履安]] | votes4 = 1074044 | sw4 = -10.0 |invalid = 117160 |electorate = 14313288 |result = [[中國國民黨|國民黨]] 获得 |majority = 16544 |majoritypct = 16.44 |majoritysw = +1.44 |resultsw = +1.24 |result2 = [[民主進步黨|民進黨]] 保持 |majority2 = 14000 |majoritypct2 = 14.44 |majoritysw2 = +0.22 |resultsw2 = +1.24 }} |
|
上述文件嵌入自Template:Election results/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |