Append Text Plugin

AppendText is a WikiPlugin to automatically add text to a page. For general usage better use the AddCommentPlugin.

<?plugin AppendText ?>

Plugin Arguments

page: Append to which page. Default: Current page.
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.

Examples

Add from a list of all available plugins one to the current page.

  <?plugin WikiFormRich action=AppendText buttontext="AddPlugin"
           pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=WikiPlugin !>
           ?>

Add from a list of all available Categories to the current page.

  <?plugin WikiFormRich action=AppendText buttontext="AddCategory"
           pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
           ?>

PhpWikiDocumentation

Last edited on Tuesday 16 January 2007 18:56:17




Copyright Southampton University Canoe Club (SUCC)

This website is hosted by Southampton University Students Union.
If you would like hosting for your club or society contact us at hosting@susu.org.
The views expressed on this website are not the views of SUSU or the University of Southampton.

Edit | Lock Page | Remove Page | PageHistory | Diff  | PageInfo