report-link

{report-link}

Plugin: Reporting Plugin

Displays the specified key value as a link.

Description

It is assumed that the item/key value is an absolute or server-relative link. If not, the 'prefix' and 'postfix' parameters can be used to prepend or append extra values to the URL.

Usage

{report-link:prefix:key|info=Mouse-over information|target=_blank}Link text{report-link}

Parameters

Name Required Default Description
[default]/key
The key chain value to use as the link URL.
info
The text which will be displayed when the user hovers their mouse over the link.
target
The target frame to open the link in. May be any standard HTML target.
prefix
The text to prepend to the item/key value in the link.
postfix
The item to append to the item/key value in the link.
trim
true
If set to 'false', the URL will not be trimmed.
default
The wiki markup to output if the specified item/key has no value.

Examples

Link to parent

This will create a link to the current page's parent page, if it has one.

{report-link:content:parent > content:url|default=_This page has no parent._}View parent page{report-link}

See Also

Labels

macro macro Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.