]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FAppendTextPlugin
Update PHP Doc
[SourceForge/phpwiki.git] / pgsrc / Help%2FAppendTextPlugin
1 Date: Fri, 20 Nov 2012 19: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   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 **~AppendText** is a [[Help:WikiPlugin|plugin]] to automatically add text to a page. For general
10 usage better use the [[Help:AddCommentPlugin|AddComment]] plugin.
11
12 {{{
13 <<AppendText arguments>>
14 }}}
15
16 == Arguments ==
17
18 {| class="bordered"
19 |-
20 ! Argument
21 ! Description
22 ! Default value
23 |-
24 | **page**
25 | Append to which page
26 | Current page.
27 |-
28 | **pages**
29 | Append to multiple pages
30 | none
31 |-
32 | **s**
33 | What text to add. Note: A \n is always prepended.
34 |
35 |-
36 | **before**
37 | (Optional) Add before the matching line beginning with before.
38 |
39 |-
40 | **after**
41 | (Optional) Add after the matching line beginning with after.
42 |
43 |-
44 | **redirect**
45 | Redirect to modified page
46 | false
47 |}
48
49 == Examples ==
50
51 === Add from a list of all available plugins one to the current page ===
52
53 {{{
54 <<WikiFormRich action=AppendText buttontext="AddPlugin"
55                pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=CategoryWikiPlugin !>
56 >>
57 }}}
58
59 <<WikiFormRich action=AppendText buttontext="AddPlugin"
60                pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=CategoryWikiPlugin !>
61 >>
62
63 === Add from a list of all available Categories to the current page ===
64
65 {{{
66 <<WikiFormRich action=AppendText buttontext="AddCategory"
67                pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
68 >>
69 }}}
70
71 <<WikiFormRich action=AppendText buttontext="AddCategory"
72                pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
73 >>
74
75 <noinclude>
76 ----
77 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
78 </noinclude>