Note: Ballotpedia will be read-only from 9pm CST on February 25-March 5 while Judgepedia is merged into Ballotpedia.
For status updates, visit lucyburns.org.
Ballotpedia's coverage of elections held on March 3, 2015, was limited. Select races were covered live, and all results will be added once the merger is complete.

Difference between revisions of "Template:Election results boxtop"

From Ballotpedia
Jump to: navigation, search
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|candidatename=#|percentage=#|winner= {{Approved}}|}}
 
{{Election results box|R|candidatename=#|percentage=#|winner= {{Approved}}|}}
{{Election results box|G|candidatename=#|percentage=#|#}}
+
{{Election results box|G|candidatename=#|percentage=#|}}
 
{{Election results boxbottom|Totalvotes=#|}}
 
{{Election results boxbottom|Totalvotes=#|}}
  
Line 40: Line 40:
 
| style="text-align:center; background-color:#666; color:white;"|Winner
 
| style="text-align:center; background-color:#666; color:white;"|Winner
 
</onlyinclude>
 
</onlyinclude>
{{Election results box|D||candidatename=#|percentage=#|#}}
+
{{Election results box|D||candidatename=#|percentage=#|}}
{{Election results box|G||candidatename=#|percentage=#|#}
+
{{Election results box|G||candidatename=#|percentage=#|}
{{Election results box|R|candidatename=#|percentage=#|#}
+
{{Election results box|R|candidatename=#|percentage=#|}
{{Election results boxbottom|Total votes=#|#}
+
{{Election results boxbottom|Total votes=#|}
 
[[Category:Component templates|{{PAGENAME}}]]
 
[[Category:Component templates|{{PAGENAME}}]]
 
[[Category:Partisan composition templates| {{PAGENAME}}]]
 
[[Category:Partisan composition templates| {{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]

Revision as of 12:35, 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
#

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