Diff: Help/AppendTextPlugin

Note: You are viewing an old revision of this page. View the current version.

Differences between version 5 and previous revision of Help/AppendTextPlugin.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 5 Last edited on 9 September 2007 0:16 by harold Revert
Older page: version 4 Last edited on 22 May 2014 3:01 by harold Revert
@@ -1,70 +1,34 @@
-**~ AppendText** is a [[ Help:WikiPlugin|plugin]] to automatically add text to a page. For general  
-usage better use the [[Help: AddCommentPlugin|AddComment]] plugin
+AppendText is a Help:WikiPlugin to automatically add text to a page. For general  
+usage better use the AddCommentPlugin. 
  
-{{{  
-<< AppendText arguments> >  
-}}}  
+<verbatim>  
+<?plugin AppendText ? >  
+</verbatim>  
  
-== Arguments ==  
+!! Plugin Arguments  
+__page__: |  
+ Append to which page. Default: Current page.  
+__s__: |  
+ What text to add. Note: A \n is always prepended.  
+__before__: |  
+ (Optional) Add before the matching line beginning with before.  
+__after__: |  
+ (Optional) Add after the matching line beginning with after.  
  
-{| class="bordered"  
-|-  
- ! Argument  
- ! Description  
-! Default value  
-|-  
-| **page**  
-| Append to which page  
-| Current page.  
-|-  
-| **pages**  
-| Append to multiple pages  
-| none  
-|-  
-| **s**  
-| What text to add. Note: A \n is always prepended.  
-|  
-|-  
-| **before**  
-| (Optional) Add before the matching line beginning with before.  
-|  
-|-  
-| **after**  
-| (Optional) Add after the matching line beginning with after.  
-|  
-|-  
-| **redirect**  
-| Redirect to modified page  
-| false  
-|}  
+!! Examples  
  
-== Examples == 
+Add from a list of all available plugins one to the current page.  
+<verbatim>  
+ <?plugin WikiFormRich action =AppendText buttontext ="AddPlugin"  
+ pulldown[] name =s text ="Plugins: " value=<!plugin-list BackLinks page=WikiPlugin !>  
+ ?>  
+</verbatim>  
  
-=== Add from a list of all available plugins one to the current page ===  
-  
-{{{  
-<<WikiFormRich action=AppendText buttontext="AddPlugin"  
- pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=CategoryWikiPlugin ! >  
->>  
-}}}  
-  
- <<WikiFormRich action=AppendText buttontext="AddPlugin"  
- pulldown[] name=s text="Plugins: " value=<! plugin-list BackLinks page=CategoryWikiPlugin !>  
->>  
-  
-=== Add from a list of all available Categories to the current page ===  
-  
-{{{  
-<< WikiFormRich action=AppendText buttontext="AddCategory"  
- pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>  
->>  
-}}}  
-  
-<<WikiFormRich action=AppendText buttontext="AddCategory"  
- pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>  
->>  
-  
-<noinclude
+Add from a list of all available Categories to the current page.  
+<verbatim >  
+ <? plugin WikiFormRich action=AppendText buttontext="AddCategory"  
+ pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>  
+ ? >  
+</verbatim
 ---- 
-[[ PhpWikiDocumentation]] [[CategoryWikiPlugin]]  
-</noinclude>  
+PhpWikiDocumentation 

version 5

AppendText is a Help:WikiPlugin to automatically add text to a page. For general usage better use the AddCommentPlugin.

<?plugin AppendText ?>

Plugin Arguments

page: Append to which page. Default: Current page.
s: What text to add. Note: A \n is always prepended.
before: (Optional) Add before the matching line beginning with before.
after: (Optional) Add after the matching line beginning with after.

Examples

Add from a list of all available plugins one to the current page.

  <?plugin WikiFormRich action=AppendText buttontext="AddPlugin"
           pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=WikiPlugin !>
           ?>

Add from a list of all available Categories to the current page.

  <?plugin WikiFormRich action=AppendText buttontext="AddCategory"
           pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
           ?>

PhpWikiDocumentation