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 48 Next »

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

This page and the following child pages demonstrate including an excerpt from one on another page.

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

Excerpt Macro Example

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

This is the markup:

{excerpt-include:Page with Second Excerpt}

The markup is rendered as follows:

Error rendering macro 'excerpt-include'

No link could be created for 'WikiTrainFAQsTips:Page with Second Excerpt'.

Multi-Excerpt Include Example

 

Unknown macro: {multi-excerpt-include}
Unknown macro: {multi-excerpt-include}

You can define as many excerpts as needed on a single page with the Multi-excerpt macro. You can include a Multi-excerpt from a page in another space. T pageTitle beomes "spacykey:pageName" like this:

{multi-excerpt-include:spaceKey:pageName|name=excerptName|nopanel=true}

If you include Multiexcerpts inside one another (nest them) bulleted lists will not render properly. Links in a Multiexcerpt include may not render properly in another Multiexcerpt include.

  • No labels