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.
The following is an included page. The page is a child of this one.
The following is an included excerpt from a child page of this one.
The page Test Page with Excerpt to Include could not be found.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:
The page Page with Second Excerpt could not be found.Multi-Excerpt Include Example
This is the markup:
{multi-excerpt-include:pageTitle=Page with First Excerpt|name=Information one page one|nopanel=true} {multi-excerpt-include:pageTitle=Page with First Excerpt|name=name=Information two page one|nopanel=true}
The markup is rendered as follows:
You can define as many excerpts as needed on a single page with the multi=excerpt macro and you can include a multi-excerpt from a page in another space.