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. The Page Information page for an Include page indicates where it is in use, but it is very difficult to determine where an excerpt or multi-excerpt is in use.

Refer also to the Confluence Gadgets demonstration (Confluence page gadget).

Refer also to Finding Where Reused Content Appears.

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. Open the page where you want the included text to appear and place your cursor where you want the included text to start. 

  5. Add an Include Page macro as described in the following Atlassian help page:

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

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.


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

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.