WEBLINK

  • create a link to a web
  • Syntax: %WEBLINK{web="..." name="..."}%
  • Supported parameters:
    Parameter: Description:Sorted ascending Default:
    class="..." css class used within the web link webLink
    format="..." format string for the web link <a class="webLink $marker" href="$url" title="%ENCODE{"$tooltip" type="html"}%">$title</a>
    "web" name of the web to link to BASEWEB
    name="..." name to display instead of the web name BASEWEB (its tail in case it is a subweb)
    marker="..." string to be inserted into the format string if the web link points to the current web current

The following variables can be used in the format string:
  • $web: full qualified name of the web to link to
  • $topic: name of the topic to link to, defaults to WebHome
  • $title: title of the WebHome topic; this is either the topic name or its title
  • $name: name of the web, that is the tail of the web specification with all parent webs stripped off
  • $url: url for the link
  • $marker: the marker set to the "marker" string if the link points to the current web
  • $tooltip: tooltip for the link, mostly used in a title argument of an anchor
  • $summary: web summary as defined in the WEBSUMMARY preference variable

-- TimoBaumann - 12 Oct 2015

 
Copyright � by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback