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}

Demonstration of includes and Excerpt-Includes (Multi-Excerpt and Excerpt Macros)

This page and the child pages, listed below, demonstrate including an excerpt from one or more pages on another page.

...

Refer to these pages to see the markup for the excerpt and multi-excerpt.

Include Macro Example

The include macro allows you to include an entire page in the same space on another page. Includes can be tagged by means of labels, making them easier to track than excerpts and multi-excerpts.

...

Code Block
{include:Test Page To Include}

Excerpt Macro Example

The excerpt macro has a limitation; you can only define one excerpt on a page.

...

Excerpt Include
Page with Second Excerpt
Page with Second Excerpt

Multi-Excerpt Include Example

This is the markup to place on the page that has the content you want to render into another pager:

...