JSPWiki logo
Strona główna
Zbieranina
Serwisy
Porady
Projekty
Humor sektora IT
TODO
Nowości
Ostatnie zmiany
Kontakt

Find pages
Unused pages
Undefined pages
Page Index

Set your name in
UserPreferences

Edit this page


Referenced by
JSP Wiki Plugins




JSPWiki v2.2.33


Referring Pages Plugin


Finds and lists all pages that refer to the current page.

Parameters

max=n
How many pages to list. Default is 10. Some pages might create very long lists, so it's a good idea to limit the list size.
extras='...and %d more.'
How to show entries after max. %d is replaced by the remaining number of pages.
maxwidth=n
Limits the length of the generated links to at most n characters. This should used to keep the LeftMenu or LeftMenuFooter at a manageable width. Default is to not limit the length at all.
before='*'
This element goes before each generated link. The value is WikiText, and the default is empty.
separator=','
Sets the separator to use between generated links. The value is WikiText, and the default is a nothing (Change to ", " for a horizontal, comma-separated list.)
after='\n'
Sets the separator to use after each generated links. The value is WikiText, and the default is a linebreak, which produces a vertical list.
page=pagename
What pages refer to the given page, not the page this plugin is part of

Default

The default behavior is to produce a vertical list of links. Text appearing after the plugin will start on a new line.

Examples

For linebreak use

\\\\ (four slashes)
For new line use
\n
The format of the list is
Before Item1 After Separator Before Item2 After Separator Before Item3 After

A comma separated list:

[{ReferringPagesPlugin separator=', ' }]
A bullet list
[{ReferringPagesPlugin before='*' after='\n' }]
Before each link put a start list, after each link end the line and start a new line. Remember, the * must be the first character on the line.
Elements in bold with each one on a new line
[{ReferringPagesPlugin before='__' after='__\\\\'}]
Show the first three and a nice message saying there are more.
[{ReferringPagesPlugin separator=', ' max=3 extras=' along with %d more that are not shown. '}]

See also LeftMenuFooter.


Back to JSPWikiPlugins.




Go to top   Edit this page   More info...   Attach file...
This page last changed on 26-Feb-2005 20:47:12 GMT by unknown.