]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FAppendTextPlugin
Wikicreole syntax for links
[SourceForge/phpwiki.git] / pgsrc / Help%2FAppendTextPlugin
1 Date: Sat, 24 Jan 2009 20:18:24 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FAppendTextPlugin;
6   flags=PAGE_LOCKED;
7   markup=2;
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
11 *~AppendText* is a [[Help:WikiPlugin|plugin]] to automatically add text to a page. For general
12 usage better use the [AddComment|Help:AddCommentPlugin] plugin.
13
14 <verbatim>
15 <?plugin AppendText ?>
16 </verbatim>
17
18 == 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]] [[CategoryWikiPlugin]]