Creates a link to the parent of a WikiPage. This is mainly intended to work with WikiAttachments, that is, if the page you are referring to is an attachment, it will generate the correct link.

Why would you use this instead of a standard anchor? The LinkToTag automatically adds things like the correct class information (for styles), the jspwiki.baseURL property, attachment links, etc.


<wiki:LinkToParent page="<page name>" format="anchor|url">

Link text


Page name to link to. If not set, uses the current page.
If "anchor", creates the full hyperlink (<a href="...">link text</a>); if "url", outputs only the URL.


The parent of this attachment is <wiki:LinkToParent><wiki:ParentPageName /></wiki:LinkToParent>.

Category OfficialDocumentation

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-2) was last changed on 30-May-2003 21:13 by JanneJalkanen