Difference between revisions of "Template:Partisantop"

From Ballotpedia
Jump to: navigation, search
(default width is now 35% and 2nd column is 12em wide)
Line 7: Line 7:
 
::* d, dem, democratic = Democratic &rarr; <span style="background-color:#008; color:white; padding:2px;">'''Blue'''</span> (#008)
 
::* d, dem, democratic = Democratic &rarr; <span style="background-color:#008; color:white; padding:2px;">'''Blue'''</span> (#008)
 
::* wd, wdem, wdemocratic, weak democratic = Weakly democratic (&lt;10% margin?) &rarr; <span style="background-color:#668; color:white; padding:2px;">'''Slate Blue'''</span> (#668)
 
::* wd, wdem, wdemocratic, weak democratic = Weakly democratic (&lt;10% margin?) &rarr; <span style="background-color:#668; color:white; padding:2px;">'''Slate Blue'''</span> (#668)
::* r, repub, republican = Republican <span style="background-color:#800; color:white; padding:2px;">'''Red'''</span> (#800)
+
::* r, repub, republican = Republican <span style="background-color:#FF0000; color:white; padding:2px;">'''Red'''</span> (#FF0000)
 
::* wr, wrepub, wrepublican, weak republican = Weakly republican (&lt;10% margin?) <span style="background-color:#866; color:white; padding:2px;">'''Gray Pink'''</span> (#866)
 
::* wr, wrepub, wrepublican, weak republican = Weakly republican (&lt;10% margin?) <span style="background-color:#866; color:white; padding:2px;">'''Gray Pink'''</span> (#866)
 
:'''parent''' = ''Optional'' parent template name for viewing/editing
 
:'''parent''' = ''Optional'' parent template name for viewing/editing

Revision as of 15:16, 30 July 2013

Parameters
1/date = Month/year (default current month/year: April 2014)
2/lean = Optional side to which major party the legislature leans (default → Dark Gray)
width = Optional table box width (default is 35%)
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 (#FF0000)
  • wr, wrepub, wrepublican, weak republican = Weakly republican (<10% margin?) Gray Pink (#866)
parent = Optional parent template name for viewing/editing


See also


Party As of April 2014
     Democratic Party #
     Green Party #
     Republican Party #
Total #