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