This shows you the differences between two versions of the page.
— |
pollhowto [2013/01/10 03:56] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | <poll [id]> | ||
+ | [question] | ||
+ | |||
+ | * [option] | ||
+ | * [option] | ||
+ | * ... | ||
+ | </ | ||
+ | |||
+ | |||
+ | < | ||
+ | [question 1] | ||
+ | * [option] | ||
+ | * [option] | ||
+ | * ... | ||
+ | [question 2] | ||
+ | * [option] | ||
+ | * [option] | ||
+ | [multivaluated question] | ||
+ | + [option] | ||
+ | + [option] | ||
+ | + [option] | ||
+ | + ... | ||
+ | </ | ||
+ | |||
+ | [hideresults] hides the results of the poll to users who don't have write access on the page, displays a “You already voted” message instead optional | ||
+ | [hideifvoted] completly hides the poll once the user voted, only users with write access on the page can see the results optional | ||
+ | [showresultsto] comma separated list of users or @groups which can see the results without the need to vote or to have editing rights optional | ||
+ | [id] the ID of the poll; must be unique1); appears as title required | ||
+ | [question] the question you'd like to ask optional | ||
+ | [option] a possible answer to the immediately above question required | ||
+ | |||
+ | The poll title is converted to a md5sum. This is used as the filename in data/meta: md5sum.multipoll - so all polls in the whole wiki must be unique. As a result you can move your poll around and the poll data is accessible. If you remove the poll you must remove the poll data with “rm”. | ||
+ | |||
+ | </ | ||