NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar:icons=false}

...

Page info
title
title

Include the complete

...

content of a page on another page

To include the complete text content of a page on another page:

  • Create the page with the text you want to include. The space root is a good place to create the page, because the page will not interfere with navigation in the space.
  • 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.
  • On the page where you want the included text to appear, where the included text should start, type the following.

    Code Block

    {include

  • When the dialog opens to specify the page to be included, type the name of the page, preceded by the spacekey if the page is in another space.

Warning

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.

Include part of the

...

content of a page on another page

Example of including the complete

...

content of a page

As an example of the include macro, the caArray Installation Guide has instructions for printing that are on a page in the space root of the caArray2 space. The markup for the included text is:

Code Block
{include:Instructions for Printing}

The instructions are also included belowin the example that follows. The markup is:

...

page name is entered as caArray2doc:Instructions

...

for

...

Printing.

Example of Included Page

Include Page
caArray2doc:Instructions for Printing
caArray2doc:Instructions for Printing

...