Diff: Help/WikiFormPlugin

Differences between current version and predecessor to the previous major change of Help/WikiFormPlugin.

Other diffs: Previous Revision, Previous Author

Newer page: version 5 Last edited on 17 January 2022 3:00 by harold
Older page: version 4 Last edited on 27 January 2012 2:48 by harold Revert
@@ -1,27 +1,57 @@
-_short description_  
+The **~WikiForm** [[Help:WikiPlugin|plugin]] provides generic input buttons.  
  
-! Usage  
-<verbatim>  
- <?plugin WikiForm ? >  
-</verbatim>  
+== Usage ==  
+{{{  
+<< WikiForm arguments> >  
+}}}  
  
-! Arguments 
+== Arguments ==  
  
-page _( default: current pagename)_:  
- The page to execute upon.  
+{| class="bordered"  
+|-  
+! Argument  
+! Description  
+! Default value  
+|-  
+| **action**  
+| upload, loadfile, dumphtml or dumpserial  
+| upload  
+|-  
+| ** default**  
+| Default value in the input box  
+| //empty//  
+|-  
+| **buttontext**  
+| Text displayed on the button  
+| if action=upload, Upload \\  
+if action=loadfile, Load File \\  
+if action=dumphtml, Dump Pages as XHTML \\  
+if action=dumpserial, Dump Pages  
+|-  
+| **overwrite**  
+| When loading pages, force overwrite or not  
+| false  
+|-  
+| **size**  
+| Size of the input box  
+| 50  
+|}  
  
-! Example 
+== Example ==  
  
-<verbatim>  
-<?plugin WikiForm ? >  
-</verbatim>  
+{{{  
+<< WikiForm action="loadfile" buttontext="Load File"> >  
+}}}  
  
-<?plugin WikiForm ?
+<< WikiForm action="loadfile" buttontext="Load File">
  
-! Author  
-PhpWiki :ReiniUrban  
+== Author ==  
+* [[Help :Reini Urban|Reini Urban]]  
  
-! See Also 
+== See Also ==  
+* [[Help:WikiFormRichPlugin]]  
  
+<noinclude>  
 ---- 
-PhpWikiDocumentation Help:WikiPlugin  
+[[ PhpWikiDocumentation]] [[CategoryWikiPlugin]]  
+</noinclude>  

current version

The WikiForm plugin provides generic input buttons.

Usage

<<WikiForm arguments>>

Arguments

Argument

Description

Default value

action

upload, loadfile, dumphtml or dumpserial

upload

default

Default value in the input box

empty

buttontext

Text displayed on the button

if action=upload, Upload
if action=loadfile, Load File
if action=dumphtml, Dump Pages as XHTML
if action=dumpserial, Dump Pages

overwrite

When loading pages, force overwrite or not

false

size

Size of the input box

50

Example

<<WikiForm action="loadfile" buttontext="Load File">>

Author

See Also