Creating a poll in Discourse

Egderyders enables the creation of a poll. With the latest update, we have lost the icon “create a poll” in the edit interface. This will be restored soon, but meanwhile the functionality still works.

EDIT. The “create a poll” button has been restored. Thanks @daniel !

The way to create a poll is to use the markdown tag [poll] --polll configuration goes here-- [/poll]. For example:

When do we meet?
  • Monday
  • Tuesday
  • Wednesday
0 voters

This poll is generated by this code:

[poll type=multiple results=always min=1 max=2 public=true chartType=bar]
# When do we meet?
* Monday
* Tuesday
* Wednesday
[/poll]

type is the type of choice.

  • With type=multiple you allow multiple choices
  • With type=single you allow only one choice
  • With type=number you allow number ratings.

results controls when the results of the poll are visible to the voter.

  • With results=always they are always visible.
  • With results=on_vote you can only see them after voting.
  • With results=on_close they are only visible when the poll closes.
4 Likes