discourse/plugins/poll/README.md

40 lines
857 B
Markdown
Raw Normal View History

2014-03-09 18:17:58 -04: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 23:19:19 -04:00
2. Include a list in your post (the **first list** will be used)
2014-03-09 18:17:58 -04:00
Important note:
Make sure you have the "Poll: " prefix in the title right from the start.
Editing the title to include it later is not possible atm.
2014-04-08 23:19:19 -04:00
## Closing the poll
Change the start of the topic title from "Poll: " to "Closed Poll: ". This feature uses the locale of the user who started the topic.
2014-04-08 23:19:19 -04: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 23:19:19 -04:00
- Item one
- Item two
2014-04-08 23:19:19 -04:00
Here are your choices:
2014-04-08 23:19:19 -04:00
[poll]
- Option 1
- Option 2
[/poll]
```