Creates a link to the upload page. See WikiAttachments.
Why would you use this instead of a standard anchor? The UploadLinkTag automatically adds things like the correct class information (for styles), the jspwiki.baseURL property, attachment links, etc.
Usage#
<wiki:UploadLink page="<page name>" format="anchor|url"> Link text </wiki:UploadLink>
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.
Example#
<wiki:UploadLink>Upload a new attachment</wiki:UploadLink>.