]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FAppendTextPlugin
Add link
[SourceForge/phpwiki.git] / pgsrc / Help%2FAppendTextPlugin
1 Date: Fri, 10 Sep 2010 13:46:13 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FAppendTextPlugin;
6   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
7   markup=2;
8   charset=UTF-8
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 [[Help:AddCommentPlugin|AddComment]] plugin.
13
14 {{{
15 <<AppendText>>
16 }}}
17
18 == Arguments ==
19
20 {| class="bordered"
21 |-
22 ! Argument
23 ! Description
24 ! Default value
25 |-
26 | **page**
27 | Append to which page
28 | Current page.
29 |-
30 | **s**
31 | What text to add. Note: A \n is always prepended.
32 |
33 |-
34 | **before**
35 | (Optional) Add before the matching line beginning with before.
36 |
37 |-
38 | **after**
39 | (Optional) Add after the matching line beginning with after.
40 |
41 |}
42
43 == Examples ==
44
45 Add from a list of all available plugins one to the current page.
46
47 {{{
48 <<WikiFormRich action=AppendText buttontext="AddPlugin"
49                pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=WikiPlugin !>
50 >>
51 }}}
52
53 Add from a list of all available Categories to the current page.
54
55 {{{
56 <<WikiFormRich action=AppendText buttontext="AddCategory"
57                pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
58 >>
59 }}}
60
61 <noinclude>
62 ----
63 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
64 </noinclude>