Anywhere in a topic or template:

%PERMLINK% called with no parameters returns a permanent link to the current topic.

Parameter Description Default
topic="Sandbox.TestTopic"
topic="TestTopic"
Renders the permanent link of a different topic than the current. If the web part is left out, the current web is assumend. current topic
warn="on"
warn="off"
Show or suppress warning messages on faiures. Possible failures:
- no ID available
- read access to topic denied or
- topic does not exist
on
format="" Controls the format of the permanent link. See formatting variables below. $url$md5

Formatting parameter Description Default
$url Base URL without the ID. This parameter can be set in configure. http://translate.foswiki.org/bin/rest/PermLinkPlugin/view/
$md5 permanent ID in MD5 format (hex) none
$human permanent ID in human readable format none
$rev Current Revision number (delimitted with two hyphens) none

Plus the default escape sequences like $n or $percnt.

Topic revision: r2 - 30 Jan 2010, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy