diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-22 21:05:40 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-10-22 21:05:40 +0200 |
commit | 6634fec4377c1d358edc87c3819c280a9e273380 (patch) | |
tree | 97e0ad46fbe136e60135248af3b0cf768dd28f00 /ikiwiki/directive/poll.mdwn |
Init with ikiwiki 2.67.HEADmasterallinone-nballinone-daallinone
Diffstat (limited to 'ikiwiki/directive/poll.mdwn')
-rw-r--r-- | ikiwiki/directive/poll.mdwn | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ikiwiki/directive/poll.mdwn b/ikiwiki/directive/poll.mdwn new file mode 100644 index 0000000..6aa3d2c --- /dev/null +++ b/ikiwiki/directive/poll.mdwn @@ -0,0 +1,25 @@ +The `poll` directive is supplied by the [[!iki plugins/poll desc=poll]] plugin. + +This directive allows you to create online polls in the wiki. Here's an +example use: + + \[[!poll 0 "red" 0 "green" 0 "blue"]] + +The numbers indicate how many users voted for that choice. When a user +votes for a choice in the poll, the page is modified and the number +incremented. + +While some basic precautions are taken to prevent users from accidentially +voting twice, this sort of poll should not be counted on to be very +accurate; all the usual concerns about web based polling apply. Unless the +page that the poll is in is locked, users can even edit the page and change +the numbers! + +Parameters: + +* `open` - Whether voting is still open. Set to "no" to close the poll to + voting. +* `total` - Show total number of votes at bottom of poll. Default is "yes". +* `percent` - Whether to display percents. Default is "yes". + +[[!meta robots="noindex, follow"]] |