Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
## Macro title: navlink
## @param address:title=Address|type=confluence-content|required=true
## @param linktext:title=Link text|type=string|required=true
## @param display:title=Display|type=enum|enumValues=block,inline|default=block
<a class="navlink" href=$paramaddress style="display: $paramdisplay;">$paramlinktext</a>

Edit popup:

Warning

When using the macro in the sidebar, it is necessary to provide the path part of the URL. E.g., /display/MISC/MyPage, otherwise the link will something like /display/MyPage.

Stylesheet

The Global Stylesheet needs some CSS settings to give the link set up by the macro its flat look and behavior:

...