Template:SinglePoll

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Description
Based on {{WashingtonRef52Poll‎}}. Width currently hard-coded to 60% of page width. Colors are hard-coded also.
Parameters
  • rowonly= Optional use without value to use as a row with {{MultiPollBegin}} and {{MultiPollEnd}}.
  • daterange = Date range of poll (i.e. Month DayStart - DayEnd, Year or MonthStart DayStart - MonthEnd DayEnd, Year)
  • pollcompany = Name of pollster
  • infavor = In favor % (without '%' sign added)
  • opposed = Opposed % (without '%' sign added)
  • undecided = Opposed % (without '%' sign added)
  • totalpolled = Total number of people polled
Usage
{{SinglePoll
|daterange   = August 26 - 29, 2010
|pollcompany = Survey USA
|infavor     = 34
|opposed     = 42
|undecided   = 24
|totalpolled = 650
}}
gives...
Date of Poll Pollster In favor Opposed Undecided Number polled
August 26 - 29, 2010 Survey USA 34% 42% 24% 650
{{SinglePoll
|daterange   = August 26 - 29, 2010
|pollcompany = Survey USA
|infavor     = 42
|opposed     = 34
|undecided   = 24
|totalpolled = 650
}}
gives...
Date of Poll Pollster In favor Opposed Undecided Number polled
August 26 - 29, 2010 Survey USA 42% 34% 24% 650
See also

Template
Date of Poll Pollster In favor Opposed Undecided Number polled
MonthStart DayStart, YearStart - MonthEnd DayEnd, YearEnd Unknown pollster - - - Unknown