X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9921a4a8a1a696ce69acce5e14943f0149d926ff..365e11783b741e459f4c1cb3595def5211442c2e:/doc/ikiwiki/directive/poll.mdwn?ds=sidebyside diff --git a/doc/ikiwiki/directive/poll.mdwn b/doc/ikiwiki/directive/poll.mdwn index e991dfaa9..caaeaeaf0 100644 --- a/doc/ikiwiki/directive/poll.mdwn +++ b/doc/ikiwiki/directive/poll.mdwn @@ -1,4 +1,4 @@ -The `poll` directive is supplied by the [[!iki plugins/poll]] plugin. +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: @@ -19,7 +19,16 @@ Parameters: * `open` - Whether voting is still open. Set to "no" to close the poll to voting. +* `expandable` - Set to "yes" to make this poll have an interface to add + another choice to the poll. * `total` - Show total number of votes at bottom of poll. Default is "yes". * `percent` - Whether to display percents. Default is "yes". +* `postlink` - By default after voting the updated page containing the poll + is displayed. This parameter allows advancing onward to another page. + This is useful for multi-page polls. +* `posttrail` - Similar to postvote, but allows advancing to the next page + on a trail after a vote. The value of the parameter is the name of the + page that defines the trail to follow. The trail plugin must be + enabled for this to work. [[!meta robots="noindex, follow"]]