This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them.
{{Election results|caption =<!--Heading for the table-->|image =<!--Insert parliamentary diagrams here-->|reporting =<!--Add percentage reporting here (without the % symbol)-->|dsv =<!--Flips order of party and candidate columns for double simultaneous vote elections-->|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-->|seattype1 =<!--Heading of first seat column when using multiple custom seat columns-->|seattype2 =<!--Heading of second seat column when using multiple custom seat columns-->|seattype3 =<!--Heading of third seat column when using multiple custom seat columns-->|seattype4 =<!--Heading of fourth seat column when using multiple custom seat columns-->|seattype5 =<!--Heading of fifth seat column when using multiple custom seat columns-->|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-->|st1t1 =<!--Data for first seat column when using multiple custom seat columns-->|st1t2 =<!--Data for second seat column when using multiple custom seat columns-->|st1t3 =<!--Data for third seat column when using multiple custom seat columns-->|st1t4 =<!--Data for fourth seat column when using multiple custom seat columns-->|st1t5 =<!--Data for fifth seat column when using multiple custom seat columns-->|sc1 =<!--Seat change of first party compared to previous election-->|total_sc =<!--Change in total number of seats available-->|total_st1t =<!--Override figure for total of first seat column if needed (e.g. when alliance subtotals are in the rows above or column is for seat change-->|total_st2t =<!--Override figure for total of second seat column-->|total_st3t =<!--Override figure for total of third seat column-->|total_st4t =<!--Override figure for total of fourth seat column-->|total_st5t =<!--Override figure for total of fifth seat column-->|divisor =<!--For use in multi-member constituency elections where voters have multiple votes – enter the number of valid ballots to get the true percentage for each candidate-->|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-->|divisor2 =<!--For use in multi-member constituency elections where voters have multiple votes – enter the number of valid ballots to get the true percentage for each candidate in the second round-->|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-->}}