Template:Past Poll

Template:Past Poll is designed for use on all pages to display a poll that was once featured on the front page of UOGuide and has since been archived.

Template

{{Past Poll
|question=
|option1=
|result1=
|option2=
|result2=
|option3=
|result3=
|option4=
|result4=
|option5=
|result5=
|option6=
|result6=
|option7=
|result7=
|option8=
|result8=
|option9=
|result9=
|option10=
|result10=
|totalvotes=
}}

Parameters

question

  • Usage: Mandatory
  • Description: The question parameter takes a string or strings denoting the question that the poll asked voters to choose an answer for. This is used to generate the question in the header of the template.
  • Valid Value(s): Any string or strings.

option1

  • Usage: Mandatory
  • Description: The option1 parameter takes a string or strings denoting the first option that voters could choose in the poll. This is used to generate the first option in the poll.
  • Valid Value(s): Any string or strings.

result1

  • Usage: Mandatory
  • Description: The result1 parameter takes a number denoting the percentage of voters that chose the first option in the poll. This is used to generate the percentage bar that corresponds to the first option in the poll.
  • Valid Value(s): Any positive number.

option2

  • Usage: Mandatory
  • Description: The option2 parameter takes a string or strings denoting the second option that voters could choose in the poll. This is used to generate the second option in the poll.
  • Valid Value(s): Any string or strings.

result2

  • Usage: Mandatory
  • Description: The result2 parameter takes a number denoting the percentage of voters that chose the first option in the poll. This is used to generate the percentage bar that corresponds to the first option in the poll.
  • Valid Value(s): Any positive number.

option3

  • Usage: Optional
  • Description: The option3 parameter takes a string or strings denoting the third option that voters could choose in the poll. This is used to generate the third option in the poll.
  • Valid Value(s): Any string or strings.

result3

  • Usage: Optional
  • Description: The result3 parameter takes a number denoting the percentage of voters that chose the third option in the poll. This is used to generate the percentage bar that corresponds to the third option in the poll.
  • Valid Value(s): Any positive number.

option4

  • Usage: Optional
  • Description: The option4 parameter takes a string or strings denoting the fourth option that voters could choose in the poll. This is used to generate the fourth option in the poll.
  • Valid Value(s): Any string or strings.

result4

  • Usage: Optional
  • Description: The result4 parameter takes a number denoting the percentage of voters that chose the fourth option in the poll. This is used to generate the percentage bar that corresponds to the fourth option in the poll.
  • Valid Value(s): Any positive number.

option5

  • Usage: Optional
  • Description: The option5 parameter takes a string or strings denoting the fifth option that voters could choose in the poll. This is used to generate the fifth option in the poll.
  • Valid Value(s): Any string or strings.

result5

  • Usage: Optional
  • Description: The result5 parameter takes a number denoting the percentage of voters that chose the fifth option in the poll. This is used to generate the percentage bar that corresponds to the fifth option in the poll.
  • Valid Value(s): Any positive number.

option6

  • Usage: Optional
  • Description: The option6 parameter takes a string or strings denoting the sixth option that voters could choose in the poll. This is used to generate the sixth option in the poll.
  • Valid Value(s): Any string or strings.

result6

  • Usage: Optional
  • Description: The result6 parameter takes a number denoting the percentage of voters that chose the sixth option in the poll. This is used to generate the percentage bar that corresponds to the sixth option in the poll.
  • Valid Value(s): Any positive number.

option7

  • Usage: Optional
  • Description: The option7 parameter takes a string or strings denoting the seventh option that voters could choose in the poll. This is used to generate the seventh option in the poll.
  • Valid Value(s): Any string or strings.

result7

  • Usage: Optional
  • Description: The result7 parameter takes a number denoting the percentage of voters that chose the seventh option in the poll. This is used to generate the percentage bar that corresponds to the seventh option in the poll.
  • Valid Value(s): Any positive number.

option8

  • Usage: Optional
  • Description: The option8 parameter takes a string or strings denoting the eighth option that voters could choose in the poll. This is used to generate the eighth option in the poll.
  • Valid Value(s): Any string or strings.

result8

  • Usage: Optional
  • Description: The result8 parameter takes a number denoting the percentage of voters that chose the eighth option in the poll. This is used to generate the percentage bar that corresponds to the eighth option in the poll.
  • Valid Value(s): Any positive number.

option9

  • Usage: Optional
  • Description: The option9 parameter takes a string or strings denoting the ninth option that voters could choose in the poll. This is used to generate the ninth option in the poll.
  • Valid Value(s): Any string or strings.

result9

  • Usage: Optional
  • Description: The result9 parameter takes a number denoting the percentage of voters that chose the ninth option in the poll. This is used to generate the percentage bar that corresponds to the ninth option in the poll.
  • Valid Value(s): Any positive number.

option10

  • Usage: Optional
  • Description: The option10 parameter takes a string or strings denoting the tenth option that voters could choose in the poll. This is used to generate the tenth option in the poll.
  • Valid Value(s): Any string or strings.

result10

  • Usage: Optional
  • Description: The result10 parameter takes a number denoting the percentage of voters that chose the tenth option in the poll. This is used to generate the percentage bar that corresponds to the tenth option in the poll.
  • Valid Value(s): Any positive number.

totalvotes

  • Usage: Mandatory
  • Description: The totalvotes parameter takes a number denoting the total number of votes that the poll garnered. This is used to generate the "Total Votes" item in the bottom-right corner of the template.
  • Valid Value(s): Any positive whole number.