Diff: Help/AppendTextPlugin
Differences between current version and previous revision of Help/AppendTextPlugin.
Other diffs: Previous Major Revision, Previous Author
Newer page: | version 4 | Last edited on October 14, 2015 11:47 am | by PhilHollenback | |
Older page: | version 3 | Last edited on February 23, 2012 2:52 pm | by PhilHollenback | Revert |
@@ -1,9 +1,9 @@
**~AppendText** is a [[Help:WikiPlugin|plugin]] to automatically add text to a page. For general
usage better use the [[Help:AddCommentPlugin|AddComment]] plugin.
{{{
-<<AppendText>>
+<<AppendText arguments
>>
}}}
== Arguments ==
@@ -15,8 +15,12 @@
|-
| **page**
| Append to which page
| Current page.
+|-
+| **pages**
+| Append to multiple pages
+| none
|-
| **s**
| What text to add. Note: A \n is always prepended.
|
@@ -27,28 +31,40 @@
|-
| **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.
+===
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=WikiPlugin
!>
+ 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="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 !>
>>
}}}
+
+<<WikiFormRich action=AppendText buttontext="AddCategory"
+ pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
+>>
<noinclude>
----
[[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
</noinclude>
current version
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 !> >>