Vote button trans.png
April's Project of the Month
It's spring time. It's primary election season!
Click here to find all the information you'll need to cast your ballot.




Template:Election results box

From Ballotpedia
Jump to: navigation, search
Parameters
1/party = Party affiliation (default "Vacancy")
The following are accepted (so far), case-insensitive:
Colored dots are used by List of political parties in the United States to identify parties.
This template uses the colors in the colored boxes to identify parties. Some parties will have no assigned color.
NOTE: Parties supported taken from Category:Political parties plus additional ones based on info from List of United States state legislatures.
2/candidatename = Name of Candidate
3/percentage = Percentage of vote Candidate received
label = Optional label for different party name
winner = This field should be left blank for everyone except the highest vote getter who will receive the {{Approved}} Approveda template.
Example
{{Election results box|D| # | # }}
{{Election results box|R| # | # }}
{{Election results box|I| # | # }}
{{Election results box|AI| # | # }}
{{Election results box|C| # | # }}
{{Election results box|G| # | # }}
{{Election results box|L| # | # }}
{{Election results box|PF| # | # }}
{{Election results box|T| # | # }}
{{Election results box|VT| # | # }}
{{Election results box|RF| # | # }}
{{Election results box|Very Silly Party| # | # }}
{{Election results box| | 0 | 0 }}
Output
Very Silly Election
Party Candidate Vote Percentage
     Democratic Party {{{candidatename}}} {{{percentage}}}
     Republican Party {{{candidatename}}} {{{percentage}}}
     Independent {{{candidatename}}} {{{percentage}}}
     American Independent Party {{{candidatename}}} {{{percentage}}}
     Constitution Party {{{candidatename}}} {{{percentage}}}
     Green Party {{{candidatename}}} {{{percentage}}}
     Libertarian Party {{{candidatename}}} {{{percentage}}}
     Peace and Freedom Party {{{candidatename}}} {{{percentage}}}
     Tea Party {{{candidatename}}} {{{percentage}}}
     Vermont Progressive Party {{{candidatename}}} {{{percentage}}}
     Reform Party {{{candidatename}}} {{{percentage}}}
     Very Silly Party {{{candidatename}}} {{{percentage}}}
See also



Template
Random Election
Party Candidate Vote Percentage
     Vacancy {{{candidatename}}} {{{percentage}}}
Total Votes #