LinkToTag

Search SINQ Wiki:
SINQ LIN

SINQ Wiki
- Main Page
- Search SINQ Wiki
- Sample Environment
- Probenumg. Intern
- Troubleshooting SICS

This Page
- Page Info
- Printer Friendly

Referenced by
AttachmentsIteratorT...
JSPWikiTags

Wiki Info
- Unused pages
- Undefined pages
- RecentChanges
- Page Index
- System Info
- JSPWiki Docu
- SandBox
- OneMinuteWiki
- Create a New Page




JSPWiki v2.0.52


Creates a link to a WikiPage?. This also works 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.


Usage

<wiki:LinkTo page="<page name>" format="anchor|url" version="<version number>">

Link text
</wiki:LinkTo>

Parameters

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

Example

Please see the <wiki:LinkTo page="RecentChanges">list of recently changed pages</wiki:LinkTo>.


Printer Friendly  Page Info
This page last changed on 13-Mar-2003 22:11:04 UTC by unknown.