This macro creates a link relative to the current page. The most common use for it is to addNextandPreviouspage navigation.
Usage
Storage Format
<ac:macro ac:name="panel-pagenav"><ac:parameter ac:name="parameter">value</ac:parameter><ac:rich-text-body><!-- name of link --></ac:rich-text-body></ac:macro>
Wiki Markup
{panel-pagenav:parameter=value}<!-- name of link -->{panel-pagenav}
Parameter
Name
Description
Type
Default
Required
mode
Mode
The navigation mode -next,prev,parent,first,last,firstchild,lastchild
enum
class
CSS Class
The CSS class to add to the link
string
id
HTML ID
The HTML ID to add to the link
string
tooltip
Tooltip
The Tooltip to use on the link
string
flag
Flag
A list of flags, one of which must be defined for the content to be displayed
string
notflag
Not Flag
A list of flags which must not be defined for the content to be displayed
string
Mode Options
next- Next sibling page
prev- Previous sibling page
parent- Parent page
first- Fist sibling page
last- Last sibling page
firstchild- First child page
lastchild- Last child page
Example
How to create aNextandPreviousnavigation.
The link will not show if the current page does not have a matching mode page. If there isn’t another page to follow, theNextlink will not show.