Diff: Help/AppendTextPlugin
Note: You are viewing an old revision of this page. View the current version.
Differences between version 2 and predecessor to the previous major change of Help/AppendTextPlugin.
Other diffs: Previous Revision, Previous Author
Newer page: | version 2 | Last edited on 22 May 2014 3:01 | by harold | Revert |
Older page: | version 1 | Last edited on 17 January 2022 18:35 | by harold | Revert |
@@ -33,9 +33,9 @@
| (Optional) Add after the matching line beginning with after.
|
|-
| **redirect**
-| Boolean. If true, redirect
to modified page.
+| Redirect
to modified page
| false
|}
== Examples ==
version 2
AppendText is a plugin to automatically add text to a page. For general
usage better use the
AddComment plugin.
<<AppendText arguments>>
Arguments
Argument |
Description |
Default value |
---|---|---|
page |
Append to which page |
Current page. |
pages |
Append to multiple pages |
none |
s |
What text to add. Note: A \n is always prepended. |
|
before |
(Optional) Add before the matching line beginning with before. |
|
after |
(Optional) Add after the matching line beginning with after. |
|
redirect |
Redirect to modified page |
false |
Examples
Add from a list of all available plugins one to the current page
<<WikiFormRich action=AppendText buttontext="AddPlugin" pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=CategoryWikiPlugin !> >>
Add from a list of all available Categories to the current page
<<WikiFormRich action=AppendText buttontext="AddCategory" pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !> >>