]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FAppendTextPlugin
major pgsrc restructuring: internal doc into Help/*
[SourceForge/phpwiki.git] / pgsrc / Help%2FAppendTextPlugin
1 Date: Thu, 25 Nov 2004 14:56:01 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.11pre)
3 X-Rcs-Id: $Id: Help%2FAppendTextPlugin,v 1.1 2005-11-21 22:19:00 rurban Exp $ 
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FAppendTextPlugin;
6   flags="";
7   markup=2;
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
11 AppendText is a Help:WikiPlugin to automatically add text to a page. For general 
12 usage better use the AddCommentPlugin.
13
14 <verbatim>
15 <?plugin AppendText ?>
16 </verbatim>
17
18 !! Plugin Arguments
19 __page__: |
20   Append to which page. Default: Current page.
21 __s__:  |
22   What text to add. Note: A \n is always prepended.
23 __before__:  |
24   (Optional) Add before the matching line beginning with before.
25 __after__:  |
26   (Optional) Add after the matching line beginning with after.
27
28 !! Examples
29
30 Add from a list of all available plugins one to the current page.
31 <verbatim>
32   <?plugin WikiFormRich action=AppendText buttontext="AddPlugin"
33            pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=WikiPlugin !>
34            ?>
35 </verbatim>
36
37 Add from a list of all available Categories to the current page.
38 <verbatim>
39   <?plugin WikiFormRich action=AppendText buttontext="AddCategory"
40            pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
41            ?>
42 </verbatim>
43 ----
44 PhpWikiDocumentation