mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
dba8cbc6ce
about the topic prefix.
39 lines
857 B
Markdown
39 lines
857 B
Markdown
# Poll plugin
|
|
|
|
Allows you to add a poll to the first post of a topic.
|
|
|
|
# Usage
|
|
|
|
1. Make your topic title start with "Poll: "
|
|
2. Include a list in your post (the **first list** will be used)
|
|
|
|
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.
|
|
|
|
## 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.
|
|
|
|
_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
|
|
|
|
- Item one
|
|
- Item two
|
|
|
|
Here are your choices:
|
|
|
|
[poll]
|
|
- Option 1
|
|
- Option 2
|
|
[/poll]
|
|
```
|