Template:Election results: Difference between revisions

From Cvillepedia
Jump to navigation Jump to search
No edit summary
m (changed "Candidate" to plural "Candidates")
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable" border="1" width="40%"
{| class="wikitable" border="1" width="40%"
|-
|-
!width="75%"|Candidate
!width="75%"|Candidates
!width="15%"|Votes
!width="15%"|Votes
!width="10%"|%
!width="10%"|%
Line 9: Line 9:
|align=right|{{{3}}}
|align=right|{{{3}}}
|-
|-
|{{{4}}}
{{#if: {{{4|}}}
|align=right|{{{5}}}
  |
|align=right|{{{6}}}
    {{!}}-
|-
    {{!}}{{{4}}}
    {{!}}align=right{{!}}{{{5}}}
    {{!}}align=right{{!}}{{{6}}}
{{!}}- 
|}}
{{#if: {{{7|}}}
{{#if: {{{7|}}}
   |  
   |  
Line 19: Line 23:
     {{!}}align=right{{!}}{{{8}}}
     {{!}}align=right{{!}}{{{8}}}
     {{!}}align=right{{!}}{{{9}}}
     {{!}}align=right{{!}}{{{9}}}
{{!}}- 
|}}
|}}
{{#if: {{{10|}}}
{{#if: {{{10|}}}
Line 25: Line 30:
     {{!}}{{{10}}}
     {{!}}{{{10}}}
     {{!}}align=right{{!}}{{{11}}}
     {{!}}align=right{{!}}{{{11}}}
     {{!}}align=right{{!}}{{{12}}}   
     {{!}}align=right{{!}}{{{12}}}
{{!}}-  
|}}
|}}
{{#if: {{{13|}}}
{{#if: {{{13|}}}
Line 33: Line 39:
     {{!}}align=right{{!}}{{{14}}}
     {{!}}align=right{{!}}{{{14}}}
     {{!}}align=right{{!}}{{{15}}}   
     {{!}}align=right{{!}}{{{15}}}   
{{!}}-
|}}
|}}
{{#if: {{{16|}}}
{{#if: {{{16|}}}
Line 40: Line 47:
     {{!}}align=right{{!}}{{{17}}}
     {{!}}align=right{{!}}{{{17}}}
     {{!}}align=right{{!}}{{{18}}}   
     {{!}}align=right{{!}}{{{18}}}   
{{!}}-
|}}
|}}
{{#if: {{{19|}}}
{{#if: {{{19|}}}
Line 47: Line 55:
     {{!}}align=right{{!}}{{{20}}}
     {{!}}align=right{{!}}{{{20}}}
     {{!}}align=right{{!}}{{{21}}}   
     {{!}}align=right{{!}}{{{21}}}   
{{!}}-
|}}
|}}
{{#if: {{{22|}}}
{{#if: {{{22|}}}
Line 54: Line 63:
     {{!}}align=right{{!}}{{{23}}}
     {{!}}align=right{{!}}{{{23}}}
     {{!}}align=right{{!}}{{{24}}}   
     {{!}}align=right{{!}}{{{24}}}   
{{!}}-
|}}
{{#if: {{{25|}}}
  |
    {{!}}-
    {{!}}{{{25}}}
    {{!}}align=right{{!}}{{{26}}}
    {{!}}align=right{{!}}{{{27}}} 
{{!}}-
|}}
{{#if: {{{source|}}}
  |
    {{!}}-
    {{!}}colspan=3{{!}}''Source: ''{{{source}}}
|}}
|}}
|}
|}


<noinclude>{{Template:Election results/doc|Template documentation}}</noinclude>
<noinclude>{{Template:Election results/doc|Template documentation}}</noinclude>

Latest revision as of 21:03, 7 September 2019

Candidates Votes %
{{{1}}} {{{2}}} {{{3}}}

Use this template to report results of completed elections.

Each candidate gets three parameters: a name (ideally, linked to his or her article), the vote count, and % of total votes.

Simply list the candidates in order of votes, descending, with those three parameters. Continue for each candidate. The maximum this can handle is nine candidates; the template will need to be edited when we get a ten-candidate race.

The source parameter is used to indicate where the election results came from (e.g. Virginia State Board of Elections; City of Charlottesville). You can list the source and add a reference tag as in the following example:

source=Virginia State Board of Elections<ref>{{cite web|title=Official Results|url=http://www.sbe.virginia.gov/ElectionResults/2004/Nov2004/#005|author=|work=|publisher=Virginia State Board of Elections|location=|publishdate=|accessdate=28 Nov. 2010}}</ref>

The results of the reference tag will appear in the table[1] and at the bottom in that article's notes like this:

References

  1. Web. Official Results, Virginia State Board of Elections, retrieved 28 Nov. 2010.