Diff: Help/WikiPollPlugin
Differences between version 6 and predecessor to the previous major change of Help/WikiPollPlugin.
Other diffs: Previous Revision, Previous Author
| Newer page: | version 6 | Last edited on 17 January 2022 3:00 | by harold | Revert | 
| Older page: | version 5 | Last edited on 9 September 2007 0:16 | by harold | Revert | 
@@ -1,27 +1,53 @@
  
  
  
  
  
  
  
  
  
-_short description_
 
+The **~WikiPoll** [[Help:WikiPlugin|plugin]] provides configurable polls.
 
-! 
Usage 
 
-<verbatim> 
 
-  <?plugin WikiPoll ?> 
 
-</verbatim>
 
+== 
Usage ==
 
-! Arguments
 
+{{{ 
 
+<<WikiPoll arguments 
 
+    questions and possible answers 
 
+>> 
 
+}}}
 
-page _(default: current pagename)_
:  
-  The page to execute upon.
 
+Syntax
:  
+{{{ 
 
+question[1]="Do you like PhpWiki?" 
 
+answer[1][1]="Yes" answer[1][2]="Do not know" answer[1][3]="No" 
 
+}}}
 
-! Example
 
+Administration: 
 
+{{{ 
 
+<<WikiPoll page=PhpWikiPoll admin=true>> 
 
+}}}
 
-<verbatim> 
 
-<?plugin WikiPoll ?> 
 
-</verbatim>
 
+== Arguments ==
 
-<?plugin WikiPoll ?>
 
+{| class="bordered" 
 
+|- 
 
+! Argument 
 
+! Description 
 
+! Default value 
 
+|- 
 
+| **require_all** 
 
+| Boolean: if true, all questions must be answered 
 
+| true 
 
+|- 
 
+| **require_least** 
 
+| Minimum number of questions that must be answered 
 
+| 0 
 
+|- 
 
+| **admin** 
 
+| Boolean: if true, an administrator can view and reset statistics (//not yet implemented//) 
 
+| false 
 
+|}
 
-! Author 
 
-PhpWiki:ReiniUrban
 
+== Example ==
 
-! 
See Also
 
+See example in [[PhpWikiPoll]].
 
+== Author ==
 
+* [[Help:Reini Urban|Reini Urban]]
 
+
 
+<noinclude>
 
 ---- 
-PhpWikiDocumentation Help:WikiPlugin
 
+[[
PhpWikiDocumentation]] [[CategoryWikiPlugin]] 
 
+</noinclude>
 
version 6
The WikiPoll 
plugin provides configurable polls.
Usage
<<WikiPoll arguments
    questions and possible answers
>>
Syntax:
question[1]="Do you like PhpWiki?" answer[1][1]="Yes" answer[1][2]="Do not know" answer[1][3]="No"
Administration:
<<WikiPoll page=PhpWikiPoll admin=true>>
Arguments
Argument  | 
Description  | 
Default value  | 
|---|---|---|
require_all  | 
Boolean: if true, all questions must be answered  | 
true  | 
require_least  | 
Minimum number of questions that must be answered  | 
0  | 
admin  | 
Boolean: if true, an administrator can view and reset statistics (not yet implemented)  | 
false  | 
Example
See example in PhpWikiPoll.