Date: Fri, 10 Sep 2010 13:46:13 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1)
X-Rcs-Id: $Id: Help%2FAppendTextPlugin 7682 2010-09-10 12:03:36Z vargenau $
Content-Type: application/x-phpwiki;
  pagename=Help%2FAppendTextPlugin;
  flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
  markup=2;
  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 ==

{| class="bordered"
|-
! Argument
! Description
! Default value
|-
| **page**
| Append to which page
| 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.

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

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

<noinclude>
----
[[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
</noinclude>
