Wiki Markup |
---|
h4. Macro Code |
...
{code |
} {vote:question for users to respond to} option 1 option 2 option 3 {vote} {code} |
Parameters
Parameter | Required | Default | Description |
---|---|---|---|
Title | | N/A | This is the title of the ballot and must be the first parameter. |
voters | | all users | This is a comma separated list of usernames who are allowed to cast a vote. Users not in this list will not be allowed to vote, but if they are viewers will be shown the results of the vote. |
viewers | | all users | This is a comma separated list of usernames who are allowed to see the vote results. Users not in this list will be allowed to vote but after doing so will simply be shown which item they voted for. |
changeableVotes | | N/A | This parameter, if set to true, will allow the voters to change their vote after it has been cast. |
locked | | N/A | Dont allow any further voting. Show a lock Symbol to indicate that. |
Results
Vote | ||
---|---|---|
What is your favorite food? | What is your favorite food? | Salad Hamburger Pizza h4. Parameters || Parameter || Required || Default || Description || || Title | (/) | N/A | This is the title of the ballot and must be the first parameter. || || voters | (x) | all users | This is a comma separated list of usernames who are allowed to cast a vote. Users not in this list will not be allowed to vote, but if they are viewers will be shown the results of the vote. \\ If this parameter is not specified, all users with access to the page are considered voters. || || viewers | (x) | all users | This is a comma separated list of usernames who are allowed to see the vote results. Users not in this list will be allowed to vote but after doing so will simply be shown which item they voted for. \\ If a user is in this list but is not a voter, they will be taken straight to the results. If this parameter is not specified, all users will be able to see the results. || || changeableVotes | (x) | N/A | This parameter, if set to true, will allow the voters to change their vote after it has been cast. || || locked | (x) | N/A | Dont allow any further voting. Show a lock Symbol to indicate that. || h4. Results {vote:What is your favorite food?} Salad Hamburger Pizza {vote} |