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.

Template:Partisantopbeforeafter

From Ballotpedia
Jump to: navigation, search
Parameters
1/datebefore = Month year (default: November 1, 2015
2/dateafter = Month year (default: the 2015 election)
3/leanbefore = Optional side to which major party the legislature leans (default → Dark Gray)
4/leanafter = Optional side to which major party the legislature leans (default → Dark Gray)
Possible values:
  • b, bip, bipartisan = Bi-partisanDark Purple (#606)
  • d, dem, democratic = Democratic → Blue (#008)
  • wd, wdem, wdemocratic, weak democratic = Weakly democratic (<10% margin?) → Slate Blue (#668)
  • r, repub, republican = Republican Red (#800)
  • wr, wrepub, wrepublican, weak republican = Weakly republican (<10% margin?) Gray Pink (#866)
title = Optional table title header
width = Optional table box width (default is 50%)
parent = Optional parent template name for viewing/editing
Examples
{{partisantopbeforeafter
|title=Mythical State Senate
|datebefore=November 1, {{#time:Y}}
|dateafter=the {{#time:Y}} election
|leanbefore=R
|leanafter=D
}}
{{partisancountbeforeafter|D|countbefore=<span style="color:#aaa;">#</span>|countafter=<span style="color:#aaa;">#</span>}}
{{partisancountbeforeafter|G|countbefore=<span style="color:#aaa;">#</span>|countafter=<span style="color:#aaa;">#</span>}}
{{partisancountbeforeafter|R|countbefore=<span style="color:#aaa;">#</span>|countafter=<span style="color:#aaa;">#</span>}}
{{partisantotalbeforeafter|totalbefore=<span style="color:#aaa;">#</span>|totalafter=<span style="color:#aaa;">#</span>}}
gives...
Mythical State Senate
Party As of November 1, 2015 After the 2015 election
     Democratic Party # #
     Green Party # #
     Republican Party # #
Total # #
See also



Template
Party As of November 1, 2015 After the 2015 election
     Democratic Party # #
     Green Party # #
     Republican Party # #
Total # #