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=#|}}
{{Election results box|R|winner= {{Approved}}|candidatename=#|percentage=#}}
+
{{Election results box|R|winner= {{Approved}}|candidatename=#|percentage=#|}}
{{Election results box|G|candidatename=#|percentage=#}}
+
{{Election results box|G|candidatename=#|percentage=#|}}
{{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=#|}}
{{Election results box|R|winner= {{Approved}}|candidatename=#|percentage=#}}
+
{{Election results box|R|winner= {{Approved}}|candidatename=#|percentage=#|}}
{{Election results box|G|candidatename=#|percentage=#}}
+
{{Election results box|G|candidatename=#|percentage=#|}}
{{Election results boxbottom|Totalvotes=#}}
+
{{Election results boxbottom|Totalvotes=#|}}
  
 
;See also
 
;See also

Revision as of 13:31, 13 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=#|}}
{{Election results box|R|winner= {{Approved}}|candidatename=#|percentage=#|}}
{{Election results box|G|candidatename=#|percentage=#|}}
{{Election results boxbottom|Totalvotes=#|}}
gives...
Mythical State Senate
Party Candidate Vote Percentage
     Democratic Party
#
     Republican Party Approveda # #
     Green Party
#
Total Votes #
See also



Template
Party Candidate Vote Percentage Winner
     Democratic Party
#
     Green Party
#
     Republican Party
#
Total Votes {{{Totalvotes}}}