Read the The Tuesday Count. New edition available now!

Difference between revisions of "Template:SinglePoll"

From Ballotpedia
Jump to: navigation, search
m
 
Line 73: Line 73:
 
{{!}}}
 
{{!}}}
 
}}</onlyinclude>
 
}}</onlyinclude>
[[Category:Template|{{PAGENAME}}]]
+
[[Category:Table and column templates|{{PAGENAME}}]]

Latest revision as of 14:02, 8 November 2010

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