discourse/plugins/poll/README.md

35 lines
719 B
Markdown
Raw Normal View History

2014-03-09 17:17:58 -05:00
# Poll plugin
Allows you to add a poll to the first post of a topic.
# Usage
1. Make your topic title start with "Poll: "
2014-04-08 22:19:19 -05:00
2. Include a list in your post (the **first list** will be used)
2014-03-09 17:17:58 -05:00
2014-04-08 22:19:19 -05:00
## Closing the poll
Change the start of the topic title from "Poll: " to "Closed Poll: ". This feature is disabled if the `allow_user_locale` site setting is enabled.
2014-04-08 22:19:19 -05:00
_Note: closing a topic will also close the poll._
## Specifying the list to be used for the poll
If you have multiple lists in your post and the first list is _not_
the one you want to use for the poll, you can identify the
list to be used like this:
```
Intro Text
2014-04-08 22:19:19 -05:00
- Item one
- Item two
2014-04-08 22:19:19 -05:00
Here are your choices:
2014-04-08 22:19:19 -05:00
[poll]
- Option 1
- Option 2
[/poll]
```