Vote button trans.png
April's Project of the Month
It's spring time. It's primary election season!
Click here to find all the information you'll need to cast your ballot.




Template:ManyPoll

From Ballotpedia
Revision as of 14:03, 8 November 2010 by Fandyllic (Talk | contribs)

Jump to: navigation, search
Description
Based on {{FlexPoll‎}} and {{FlexPoll4‎}}.
Parameters
  • rowonly= Optional Use without value to use as a row with {{ManyPollBegin}} and {{ManyPollEnd}}.
  • boxwidth = Optional Width of poll box (default:100%)
  • fontsize = Optional Font size adjustment (default:100%)
  • headercolor = Optional Header background color (default dark blue: #00008b)
  • headertext = Optional Header text color (default: white)
  • winnerchoice = Optional Choice number of winner (no default)
  • winnercolor = Optional Winner of choices color (default sky blue: #cef2e0)
  • 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)
  • daterange = Date range of poll (i.e. Month DayStart - DayEnd, Year or MonthStart DayStart - MonthEnd DayEnd, Year)
  • pollster or pollcompany = Name of pollster
  • choice1pct = Choice #1 % (without '%' sign added; default: -)
  • choice2pct = Choice #2 % (without '%' sign added; default: -)
  • choice3pct = Choice #3 % (without '%' sign added; default: -)
  • choice4pct = Optional Choice #4 % (without '%' sign added)
  • choice5pct = Optional Choice #5 % (without '%' sign added)
  • choice6pct = Optional Choice #6 % (without '%' sign added)
  • choice7pct = Optional Choice #7 % (without '%' sign added)
  • choice8pct = Optional Choice #8 % (without '%' sign added)
  • choice9pct = Optional Choice #9 % (without '%' sign added)
  • choice10pct = Optional Choice #10 % (without '%' sign added)
  • choice11pct = Optional Choice #11 % (without '%' sign added)
  • choice12pct = Optional Choice #12 % (without '%' sign added)
  • totalpolled = Total number of people polled
  • nopct4 = Optional Use something else other than '%' after choice4pct value
NOTE: For choice4pct thru choice8pct, use   and |nopct4=- thru |nopct8=- to show a dash in the column.
Usage
{{ManyPoll
|daterange=N/A
|pollster=N/A
|choice4=Dash for choice #4
|choice5=#5 dash
|choice6=#6 dash
|choice7=#7 dash
|choice8=#8 dash
|choice4pct= 
|choice5pct= 
|choice6pct= 
|choice7pct= 
|choice8pct= 
|nopct4=-
|nopct5=-
|nopct6=-
|nopct7=-
|nopct8=-
}}
gives...
Date of Poll Pollster Choice 1 Choice 2 Choice 3 Dash for choice #4 #5 dash #6 dash #7 dash #8 dash Number polled
N/A N/A - - -  -  -  -  -  - Unknown
{{ManyPoll
|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
|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
}}
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



Template
Date of Poll Pollster Choice 1 Choice 2 Choice 3 Number polled
MonthStart DayStart, YearStart - MonthEnd DayEnd, YearEnd Unknown pollster - - - Unknown


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