Read the The Tuesday Count. New edition available now!

Difference between revisions of "Template:Election results boxtop"

From Ballotpedia
Jump to: navigation, search
Line 9: Line 9:
 
|title=Mythical AG Election
 
|title=Mythical AG Election
 
}}
 
}}
{{Election results box|D|candidatename=#|percentage=#|#|}}
+
{{Election results box|D|candidatename=#|percentage=#|winner=#|}}
{{Election results box|R|winner= {{Approved}}|candidatename=#|percentage=#|#|}}
+
{{Election results box|R|candidatename=#|percentage=#|winner={{Approved}}|}}
{{Election results box|G|candidatename=#|percentage=#|#|}}
+
{{Election results box|G|candidatename=#|percentage=#|winner=#|}}
{{Election results boxbottom|Totalvotes=#|#|}}
+
{{Election results boxbottom|Totalvotes=#|}}
 
</pre>
 
</pre>
 
:gives...
 
:gives...
Line 18: Line 18:
 
|title=Mythical State Senate
 
|title=Mythical State Senate
 
}}
 
}}
{{Election results box|D|candidatename=#|percentage=#|#|}}
+
{{Election results box|D|candidatename=#|percentage=#|winner=#|}}
 
{{Election results box|R|candidatename=#|percentage=#|winner={{Approved}}|}}
 
{{Election results box|R|candidatename=#|percentage=#|winner={{Approved}}|}}
{{Election results box|G|candidatename=#|percentage=#|#|}}
+
{{Election results box|G|candidatename=#|percentage=#|winner=#|}}
{{Election results boxbottom|Totalvotes=#|#|}}
+
{{Election results boxbottom|Totalvotes=#|}}
  
 
;See also
 
;See also

Revision as of 12:10, 16 December 2013

Parameters
title = table title header, suggested to use the page with the state election
width = Optional table box width (default is 50%)


Examples
{{Election results boxtop
|title=Mythical AG Election
}}
{{Election results box|D|candidatename=#|percentage=#|winner=#|}}
{{Election results box|R|candidatename=#|percentage=#|winner={{Approved}}|}}
{{Election results box|G|candidatename=#|percentage=#|winner=#|}}
{{Election results boxbottom|Totalvotes=#|}}
gives...
Mythical State Senate
Party Candidate Vote Percentage
     Democratic Party
  1. #
#
     Republican Party Approveda # #
     Green Party
  1. #
#
Total Votes #
See also



Template
Party Candidate Vote Percentage Winner
     Democratic Party
#

{{Election results box|G||candidatename=#|percentage=#|} {{Election results box|R|candidatename=#|percentage=#|} {{Election results boxbottom|Total votes=#|}