History: PluginProposal
Preview of version: 19
Plugin Proposal
This Wiki Plugin provides a widget for users to vote on a proposal and view the current decision (added in version 3.0).
- It makes it quick to vote and tally votes
- The proposal and votes are kept in the wiki page so it's still possible to improve the original proposal and to change the votes (there is wiki page version history so everyone can see the evolution).
- Note that a user must have edit rights to the page where the proposal is placed in order to be able to see the vote buttons and be able to click on them to vote.
Table of contents
Usage
To display in a wiki page, use the syntax:
Copy to clipboard
{PROPOSAL(caption="Here is the proposal")}{PROPOSAL}
Note
Do not use the plugin notation shortcut - {PROPOSAL(caption="xx") /}{PROPOSAL} - as it will not work.
Parameter | Accepted values | Default | Effect | Required? | Since |
---|---|---|---|---|---|
caption | any text string | none | This is the text of the proposal that displays above the vote box | no |
Example
As users vote by clicking the accept, reject or undecided button, the user's user name and vote is automatically placed in the code. Once several people have voted, the code would look something like this:
Copy to clipboard
{PROPOSAL(caption="That each Tiki contributor should get free pizza on their birthday")} +1 Sam -1 john +1 Suzy +1 Cuong 0 Sam +1 Helen +1 Majid +1 Mohammed 0 Francois +1 Youssou +1 Nico {PROPOSAL}
Would produce:
Accept | Undecided | Reject |
---|---|---|
7 | 2 | 1 |
|
|
|
Comment
You can see in the code above that user Sam voted twice: the first time he accepted the proposal (+1 Sam), and then he changed his vote to undecided (0 Sam). In the display result immediately above, only the last choice (undecided) shows.
Related Pages
History
Information | Version | |||||
---|---|---|---|---|---|---|
Marc Laporte | 36 | |||||
Marc Laporte | 35 | |||||
Yves Kipondo | 34 | |||||
lindon | 33 | |||||
will0913 Proposal Plugin modified by editor. | 32 | |||||
nirvanesque Proposal Plugin modified by editor. | 31 | |||||
Zac Proposal Plugin modified by editor. | 30 | |||||
Marc Laporte | 29 | |||||
Marc Laporte | 28 | |||||
Marc Laporte "All animals are equal, but some animals are more equal than others" | 27 | |||||
clemente Proposal Plugin modified by editor. | 25 | |||||
lindon | 24 | |||||
stefbrodu Plugin modified by editor. | 23 | |||||
lindon | 22 | |||||
Xavier de Pedro typo | 21 | |||||
Xavier de Pedro aliases added | 20 | |||||
lindon | 19 | |||||
lindon Plugin modified by editor. | 18 | |||||
lindon | 17 | |||||
lindon Plugin modified by editor. | 16 | |||||
lindon | 15 | |||||
lindon Plugin modified by editor. | 14 | |||||
lindon Substituted working plugin fro screenshot now that site is 3.0 | 12 | |||||
lindon | 11 | |||||
lindon | 10 | |||||
sylvie | 9 | |||||
Marc Laporte | 8 | |||||
Marc Laporte | 7 | |||||
Marc Laporte | 6 | |||||
Marc Laporte | 5 | |||||
Marc Laporte | 4 | |||||
Xavier de Pedro | 3 | |||||
Xavier de Pedro | 2 | |||||
system created from structure | 1 |