NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 68 Next »

This page introduces methods of including the content of a page on another page. If you want two wiki pages to display the same content, consider using an Include page, rather than using an excerpt or mutliexcerpt, because it is easier to keep track of Include pages. You can look at the Page Information page for an Include page to see where it is used, but it is very difficult to determine where an excerpt or multi-excerpt is used.

Contents

Include the complete content of a page on another page

To include the complete content of a page on another page

  1. Choose a location for a new page with the text you want to include. Consider creating a page family just for Include pages. If you want the included content to be visible to all wiki users, then keep this page family also visible to all wiki users. The space root is a good place to create the include page (or the include page family), because it will not interfere with navigation in the space.
  2. Create the page with the text you want to include.
  3. Give the page a title that indicates it is included on other pages, for example, by putting the words "To Include" at the end of the title.
  4. Navigate to the place on a page where the included text should start and type {include

  5. When the macro browser opens, select Include Page and enter the name of the page to include, preceded by the spacekey if the page is in another space.

Avoid putting a table of contents on a page that is to be included, because the links will not work on the page where the table of contents is included.

Also refer to the following Atlassian help page:

https://confluence.atlassian.com/conf613/include-page-macro-964960833.html Exit Disclaimer logo

Example of including the complete content of a page

The caArray Installation Guide has instructions for printing that are on a page in the space root of the caArray2 wiki. The instructions are included in the guide and are also included in the example that follows. The space key and page name are entered as caArray2doc:Instructions for Printing.

Example of Included Page

Unable to render {include} The included page could not be found.

Include part of the content of a page on another page

Use the Multiexcerpt macro. Refer to Including an Excerpt from One Page on Another Page.

  • No labels