Difference between revisions of "Template:Election box/US blanks"
Jump to navigation
Jump to search
imported>Athelwulf (Creating American parallel to Template:Election box/UK-blanks.) |
imported>DH85868993 (+cat) |
||
| Line 104: | Line 104: | ||
--> | --> | ||
{{Election box end}} | {{Election box end}} | ||
| − | </nowiki> | + | </nowiki><noinclude> |
| + | [[Category:Election and referendum infobox templates]] | ||
| + | </noinclude> | ||
Revision as of 07:49, 11 August 2012
Cut and paste the code below to get started. It includes 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.
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 display
| Party | Candidate | Votes | % | |||
|---|---|---|---|---|---|---|
| style="background-color: Template:Political party color; width: 5px;" | | Democratic | Barack Obama | 9,999 | 99.99 | ||
| style="background-color: Template:Republican Party (US)/meta/color; width: 2px;" | | [[Republican Party (US)|Template:Republican Party (US)/meta/shortname]] | John McCain | 9,999 | 99.99 | ||
| style="background-color: Template:Political party color; width: 2px;" | | Constitution | Chuck Baldwin | 9,999 | 99.99 | ||
| Green | Cynthia McKinney | 9,999 | 99.99 | |||
| style="background-color: Template:Political party color; width: 2px;" | | Libertarian | Bob Barr | 9,999 | 99.99 | ||
| write-ins | 9,999 | 99.99 | ||||
| Total votes | 9,999 | 99.99 | ||||
| style="background-color: Template:Political party color" | | Democratic gain from [[Republican Party (US)|Template:Republican Party (US)/meta/shortname]] | |||||
Code
{{Election box begin no change | title= }}
{{Election box winning candidate with party link no change
|party = Democratic Party (US)
|candidate =
|votes =
|percentage =
}}
{{Election box candidate with party link no change
|party = Republican Party (US)
|candidate =
|votes =
|percentage =
}}
{{Election box candidate with party link no change
|party = Constitution Party (US)
|candidate =
|votes =
|percentage =
}}
{{Election box candidate with party link no change
|party = Green Party (US)
|candidate =
|votes =
|percentage =
}}
{{Election box candidate with party link no change
|party = Libertarian Party (US)
|candidate =
|votes =
|percentage =
}}
{{Election box candidate no change
|party =
|candidate = [[write-in]]s
|votes =
|percentage =
}}
{{Election box total no change
|votes =
|percentage =
}}
<!-- Uncomment this section (and delete which ever does not apply) when the results are in:
{{Election box hold with party link without swing
|winner =
}}
{{Election box gain with party link without swing
|winner =
|loser =
}}
-->
{{Election box end}}