NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

A hierarchy of small wiki pages is easier to maintain than one large wiki page with sections. However, if you want to divide your content into sections within a single wiki page, you might need to create a link that points to a specific place on a page. To do so, you can use link to an anchor (which is like a bookmark) or a heading. For instructions, refer to the following Atlassian help pages:

Show If
groupGP-CFW_ADMINS

7.3

  • Anchors
    Multiexcerpt include
    MultiExcerptNameExitDisclaimer
    nopaneltrue
    PageWithExcerptwikicontent:Exit Disclaimer to Include
  • Links
    Multiexcerpt include
    MultiExcerptNameExitDisclaimer
    nopaneltrue
    PageWithExcerptwikicontent:Exit Disclaimer to Include

If someone moves an anchor or a heading from one page to another, Confluence does not update links pointing to that anchor or heading. Those links continue to point to the original page. If the anchor or heading no longer exists in that page, the link displays the top of that page. 

To create an anchor and create a link pointing to that anchor: 

...

Immediately after the text to which you want to link, enter an anchor. This text will be at the top of the screen when the link opens.

  1. Type as much of the following as needed to open the macro browser:

    Code Block
    {anchor
  2. Select the Anchor macro.  The Insert ‘Anchor’ Macro dialog box appears.
  3. Enter the Anchor Name and click Insert. The Anchor macro appears. 

...

If that place is on the same page, enter the link in the following form: 

Code Block
#anchortext

...

page

...

Code Block
Name of Page#anchortext

For example, this Warning to avoid duplication of content link has the following destination: 

Code Block
Tips for Authors and Editors#avoidduplicationofcontent

...

If the page is in another space, precede the page name with the space key, as follows:

Code Block
spacekey:Name Of Page#anchortext

To create a link pointing to a heading:

...

...

If that place is on the same page, enter the link in the following form: 

Code Block
#HeadingText

...

If that place is on another wiki page, enter the link in the following form: 

Code Block
Name Of Page#HeadingText

For example, this Create TOC link has the following destination: 

Code Block
Putting a table of contents on a page#Createanewpagewithatableofcontents

If the page is in another space, precede the page name with the space key, as follows:

...