Difference between revisions of "Template:ManyPollBegin"

From Ballotpedia
Jump to: navigation, search
(change default boxwidth to 90% (seems to help with borders for some reason))
m
Line 144: Line 144:
 
--></onlyinclude>
 
--></onlyinclude>
 
{{ManyPollEnd}}
 
{{ManyPollEnd}}
[[Category:Template|{{PAGENAME}}]]
+
[[Category:Table and column templates|{{PAGENAME}}]]

Revision as of 14:03, 8 November 2010

Description
Based on {{MultiPollBegin}} and {{ManyPoll}}.
Parameters
  • boxwidth = Optional Width of poll box (default:90%)
  • fontsize = Optional Font size adjustment (default:100%)
  • headercolor = Optional Header background color (default dark blue: #00008b)
  • headertext = Optional Header text color (default: white)
  • choice1 = Optional, but always shown Choice #1 name (default: Choice 1)
  • choice2 = Optional, but always shown Choice #2 name (default: Choice 2)
  • choice3 = Optional, but always shown Choice #3 name (default: Choice 3)
  • choice4 = Optional Choice #4 name (default: Choice 4)
  • choice5 = Optional Choice #5 name (default: Choice 5)
  • choice6 = Optional Choice #6 name (default: Choice 6)
  • choice7 = Optional Choice #7 name (default: Choice 7)
  • choice8 = Optional Choice #8 name (default: Choice 8)
  • choice9 = Optional Choice #9 name (default: Choice 9)
  • choice10 = Optional Choice #10 name (default: Choice 10)
  • choice11 = Optional Choice #11 name (default: Choice 11)
  • choice12 = Optional Choice #12 name (default: Choice 12)
Usage
{{ManyPollBegin
|headercolor  = #8467d7
|choice1      = Rocky Delgadillo (D)
|choice2      = Kamala Harris (D)
|choice3      = Chris Kelly (D)
|choice4      = Ted Lieu (D)
|choice5      = Pedro Nava (D)
|choice6      = Mike Schmier (D)
|choice7      = Alberto Torrico (D)
|choice8      = Undecided
}}
{{ManyPoll|rowonly=
|winnerchoice = 2
|winnercolor  = #b1fb17
|daterange    = May 6 - 9 <ref>[http://abclocal.go.com/kfsn/feature?section=news/politics&id=7435863 ''ABC 30'' "ABC 30 / SurveyUSA California Election Poll" 10 May, 2010]</ref>
|pollster     = Survey USA
|choice1pct   = 16
|choice2pct   = 22
|choice3pct   = 11
|choice4pct   = 10
|choice5pct   = 8
|choice6pct   = 2
|choice7pct   = 4
|choice8pct   = 28
|totalpolled  = 621
}}{{ManyPoll|rowonly=
|winnerchoice = 2
|winnercolor  = #b1fb17
|daterange    = May 21 - 23 <ref>[http://www.metnews.com/articles/2010/agxx052610.htm ''Metropolitan News-Enterprise'' "Cooley, Harris Lead in Attorney General Primary Races—Poll" 26 May, 2010]</ref>
|pollster     = Survey USA
|choice1pct   = 13
|choice2pct   = 25
|choice3pct   = 17
|choice4pct   = 7
|choice5pct   = 8
|choice6pct   = 3
|choice7pct   = 5
|choice8pct   = 28
|totalpolled  = 700}}{{ManyPoll|rowonly=
|winnerchoice = 2
|winnercolor  = #b1fb17
|daterange    = June 3 - 6 <ref>[http://www.surveyusa.com/client/PollReportEmail.aspx?g=507b3c66-9fd9-470d-9a8e-ee5ae0cb47b8 ''Survey USA'' "Results of SurveyUSA Election Poll #16643" 7 June, 2010]</ref>
|pollster     = Survey USA
|choice1pct   = 16
|choice2pct   = 26
|choice3pct   = 20
|choice4pct   = 6
|choice5pct   = 8
|choice6pct   = 2
|choice7pct   = 6
|choice8pct   = 15
|totalpolled  = 617}}
{{ManyPollEnd}}
gives...
Date of Poll Pollster Rocky Delgadillo (D) Kamala Harris (D) Chris Kelly (D) Ted Lieu (D) Pedro Nava (D) Mike Schmier (D) Alberto Torrico (D) Undecided Number polled
May 6 - 9 [1] Survey USA 16% 22% 11% 10% 8% 2% 4% 28% 621
May 21 - 23 [2] Survey USA 13% 25% 17% 7% 8% 3% 5% 28% 700
June 3 - 6 [3] Survey USA 16% 26% 20% 6% 8% 2% 6% 15% 617



Template
Date of Poll Pollster Choice 1 Choice 2 Choice 3 Number polled


Cite error: <ref> tags exist, but no <references/> tag was found