Date: Tue, 29 Jul 2014 10:42:12 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.5.0)
Content-Type: application/x-phpwiki;
  pagename=Help%2FAppendTextPlugin;
  flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
  charset=UTF-8
Content-Transfer-Encoding: binary

**~AppendText** is a [[Help:WikiPlugin|plugin]] to automatically add text to a page. For general
usage better use the [[Help:AddCommentPlugin|AddComment]] plugin.

{{{
<<AppendText arguments>>
}}}

== Arguments ==

{| 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 ==

=== 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>
----
[[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
</noinclude>
