This documentation has moved. For the most recent documentation, check out https://docs.adaptavist.com. Please update your bookmarks and links.

Skip to end of metadata
Go to start of metadata

Creates a link to the given url, performing any required replacements. To be used in ThemeBuilder panels, may not work if added in the Confluence editor.

Categories: navigation

Storage Format

<ac:macro ac:name="panel-link">
   <ac:parameter ac:name="parameter">value</ac:parameter>
   <ac:rich-text-body>  
     <!-- link name -->
   </ac:rich-text-body>
</ac:macro> 

Wiki Markup

{panel-link:parameter=value}
link name
{panel-link}

 

 

Parameter

Name

Description

Type

Default

Required

link

Link

The link (may be fully-qualified, relative, or a spacekey:pagename)

string

 

(error)

class

CSS Class

The CSS class to add to the link

string

 

(error)

id

HTML ID

The HTML id to add to the link

string

 

(error)

tooltip

Tooltip

The tooltip to use on the link

string

 

(error)

flag

Flag

A list of flags, one of which must be defined for the content to be displayed

string

 

(error)

notflag

Not Flag

A list of flags which must not be defined for the content to be displayed

string

 

(error)

 

<ac:macro ac:name="panel-link">
 <ac:parameter ac:name="link">http://www.adaptavist.com</ac:parameter>
 <ac:rich-text-body>  
     Adaptavist.com
 </ac:rich-text-body>
</ac:macro> 
{panel-link:link=http://www.adaptavist.com}
  Adaptavist.com
{panel-link}

 

A link is displayed using the details in the macro.

Add an image link to a Confluence page.

<ac:macro ac:name="panel-link">
  <ac:parameter ac:name="link">AD:Parent</ac:parameter>
  <ac:rich-text-body>
    <ac:macro ac:name="image">
      <ac:parameter ac:name="resource">MYSKIN::chalet.jpg</ac:parameter>
    </ac:macro>
  </ac:rich-text-body>
</ac:macro> 
{panel-link:link=AD:Parent}
  {image:MYSKIN::chalet.jpg}
{panel-link}

An image is displayed that links to the page added in the link macro.