summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/poll.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki/directive/poll.mdwn')
-rw-r--r--ikiwiki/directive/poll.mdwn25
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"]]
d class='right'>0
-rw-r--r--tags/d8/6c/200611181045.33183.avbidder@fortytwo.ch/inbox0
-rw-r--r--tags/d8/6c/200611181045.33183.avbidder@fortytwo.ch/old0
-rw-r--r--tags/d8/6c/200611181045.33183.avbidder@fortytwo.ch/signed0
-rw-r--r--tags/d8/6c/20130511090919.14332.37267.reportbug@imac.chaumes/debian0
-rw-r--r--tags/d8/6c/20170216070257.418661C8F2@jawa.homebase.dk/hb0
-rw-r--r--tags/d8/6c/20170216070257.418661C8F2@jawa.homebase.dk/sys0
-rw-r--r--tags/d8/6c/20170216070257.418661C8F2@jawa.homebase.dk/unread0
-rw-r--r--tags/d8/6c/20180401080002.2F2A48DF2@lxp5.free-owl.de/sys0
-rw-r--r--tags/d8/6c/20180401080002.2F2A48DF2@lxp5.free-owl.de/unread0
-rw-r--r--tags/d8/6c/20190518040001.731F31CD2FC@lxp5.free-owl.de/sys0
-rw-r--r--tags/d8/6c/20190518040001.731F31CD2FC@lxp5.free-owl.de/unread0
-rw-r--r--tags/d8/6c/20200107100001.590CD1CE165@lxp5.free-owl.de/sys0
-rw-r--r--tags/d8/6c/20200107100001.590CD1CE165@lxp5.free-owl.de/unread0
-rw-r--r--tags/d8/6c/20210910063636.AA4F61AFC@xayide.jones.dk/unread0
-rw-r--r--tags/d8/6c/3AB9DF47.E42553AB@homebase.dk/hb0
-rw-r--r--tags/d8/6c/3AB9DF47.E42553AB@homebase.dk/inbox0
-rw-r--r--tags/d8/6c/3AB9DF47.E42553AB@homebase.dk/old0
-rw-r--r--tags/d8/6c/3AB9DF47.E42553AB@homebase.dk/replied0
-rw-r--r--tags/d8/6c/87k17gdl0i.fsf@hope.eyrie.org/debian0
-rw-r--r--tags/d8/6c/87k17gdl0i.fsf@hope.eyrie.org/unread0
-rw-r--r--tags/d8/6c/CAMrb2AQyNxJe2STVHTaHKJej3m6LPw79F_H2boaZ970ZO8fkdg@mail.gmail.com/debconf0
-rw-r--r--tags/d8/6c/CAMrb2AQyNxJe2STVHTaHKJej3m6LPw79F_H2boaZ970ZO8fkdg@mail.gmail.com/debian0
-rw-r--r--tags/d8/6c/CAMrb2AQyNxJe2STVHTaHKJej3m6LPw79F_H2boaZ970ZO8fkdg@mail.gmail.com/inbox0
-rw-r--r--tags/d8/6c/CAMrb2AQyNxJe2STVHTaHKJej3m6LPw79F_H2boaZ970ZO8fkdg@mail.gmail.com/old0
-rw-r--r--tags/d8/6c/E1mguZ9-00031d-Rn@usper.debian.org/debian0
-rw-r--r--tags/d8/6c/E1mguZ9-00031d-Rn@usper.debian.org/inbox0
-rw-r--r--tags/d8/6c/E1mguZ9-00031d-Rn@usper.debian.org/killed0
-rw-r--r--tags/d8/6c/E1mguZ9-00031d-Rn@usper.debian.org/unread0
-rw-r--r--tags/d8/6c/Kozea%2fRadicale%2fissues%2f1032%2f639963364@github.com/unread0
-rw-r--r--tags/d8/6c/b7a344939e05419757feb3ed997ce746@sms-backup-plus.local/inbox0
-rw-r--r--tags/d8/6c/b7a344939e05419757feb3ed997ce746@sms-backup-plus.local/old0
38 files changed, 0 insertions, 0 deletions