Template:Election box/US blanks

Cut and paste the code below to get started. For pending elections, candidates should be listed alphabetically. For past elections, candidates should be listed in descending order of how many votes they got.

Example 1
Included are rows for the most common parties in the United States: Democratic, Republican, Constitution, Green, and Libertarian. Delete any that don't apply, and add any that do, as required.

Code
Example 1

Example 2