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 {0} more.'
How to show entries after max. {0} is replaced by the remaining number of pages. Prior to 2.5.138, the syntax is slightly different, you should use '...and %d more.', where %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.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 31-Aug-2008 15:47 by JanneJalkanen  
G’day (anonymous guest) My Prefs
This is the left menu footer
JSPWiki v2.8.3-svn-4