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 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. 

Wiki Markup
{scrollbar:icons=false}

Linking to a specific place on a page

The following are the steps to link to a specific place on a page.

  1. Navigate to the place to which you want to link.
  2. Immediately after the text to which you want to link, enter an anchor:

    Code Block
    {anchor:anchortext}

    where "anchortext" will be used as a "bookmark" in the link you create. Put the anchor after the item you want to be approximately at the top of the screen when the link target opens.

  3. Navigate to the place where you want to insert the link.
  4. If that place is on the same page, create the link in the following form:

    Code Block
    #anchortext
  5. If that place is on another wiki page, create the link in the following form:

    Code Block
    Name Of Page#anchortext

    For example, the following link has the destination:

    Code Block
    Wiki FAQs, Tips and Guidelines#warningtoavoidduplicationofcontent

     Warning to avoid duplication of content

The anchor text may be an anchor or a heading. If the page is in another space, precede the page name with spacekey:

...