NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Multi-Excerpt Include Example

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

Code Block
{multi-excerpt:name=excerptName}
...
{multi-excerpt}

This is the markup to place on the page where you want to put content from another page:

Code Block
{multi-excerpt-include:pageTitle=Page with Multiexcerpts|name=Information one page one|nopanel=true}
{multi-excerpt-include:pageTitle=Page with Multiexcerpts|name=Information two page one|nopanel=true}

The markup is rendered as follows:

 

Wiki Markup
{multi-excerpt-include:pageTitle=Page with Multi ExcerptsMultiexcerpts|name=Information one page one|nopanel=true}
Wiki Markup
{multi-excerpt-include:pageTitle=Page with Multi ExcerptsMultiexcerpts|name=Information two page one|nopanel=true}

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

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

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

Wiki Markup
{scrollbar:icons=false}