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. 

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 before the text to which you want to link, enter an anchor: {anchor:anchortext} where "anchortext" will be used as a "bookmark" in the link you create.
  3. Navigate to the place where you want to insert the link.
  4. Wiki Markup
    Create the link in the following form: \[linktext\|#anchortext\]

If you want to link from another website to a specific place on a page, the link must be in the following form: https://wiki.nci.nih.gov/x/MId8#caBIG-CBIITProductsAtoZ-caint (which represents https://wiki.nci.nih.gov/display/CommonProjects/caBIG-CBIIT+Products+A+to+Z#caBIG-CBIITProductsAtoZ-caint) The tiny link for the page is https://wiki.nci.nih.gov/x/MId8

Thus the link from another website to a specific place on a page is constructed as follows: the tiny link followed by # PLUS the full text of the anchor as displayed in the browser window, without the plus signs. If you change the name of the page, the link opens the page but does not go to the specific place on the page.

This is a link back to the FAQ for this tip: https://wiki.nci.nih.gov/x/J518#WikiFAQsandTips-specificplacelink