]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FAppendTextPlugin
function _PageList_Column* are not private
[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   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 arguments>>
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 | **pages**
30 | Append to multiple pages
31 | none
32 |-
33 | **s**
34 | What text to add. Note: A \n is always prepended.
35 |
36 |-
37 | **before**
38 | (Optional) Add before the matching line beginning with before.
39 |
40 |-
41 | **after**
42 | (Optional) Add after the matching line beginning with after.
43 |
44 |-
45 | **redirect**
46 | Redirect to modified page
47 | false
48 |}
49
50 == Examples ==
51
52 === Add from a list of all available plugins one to the current page ===
53
54 {{{
55 <<WikiFormRich action=AppendText buttontext="AddPlugin"
56                pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=CategoryWikiPlugin !>
57 >>
58 }}}
59
60 <<WikiFormRich action=AppendText buttontext="AddPlugin"
61                pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=CategoryWikiPlugin !>
62 >>
63
64 === Add from a list of all available Categories to the current page ===
65
66 {{{
67 <<WikiFormRich action=AppendText buttontext="AddCategory"
68                pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
69 >>
70 }}}
71
72 <<WikiFormRich action=AppendText buttontext="AddCategory"
73                pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
74 >>
75
76 <noinclude>
77 ----
78 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
79 </noinclude>