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

We have multiple macros that add a list links to child pages:

Macro NameChildren Display Page Tree Page Tree 
Macro Name in Source Editorchildren pagetree rw-pagetree 
Root ParametersParent PageRoot Page, Restrict to this Space KeySpace, Root page
Descendent ParametersShow Descendants, Depth of DescendantsStart DepthExpand depth
Excerpt ParametersExcerpt DisplayInclude Excerpts in the Page Tree, (none)
Sort ParametersSort Children By, Reverse SortSort Pages By, Reverse Order(none)
Expand/Collapse Parameters(none)Show Expand/Collapse LinksInclude expand/collapse buttons
Search Parameters(none)Include Search Box above Page Tree (The resulting search box is not 508-compliant. It causes a "Missing form label" error.) Include search bar above page tree (The resulting search box is not 508-compliant. It causes a "Missing form label" error.) 
Other ParametersNumber of Children, Heading Style(none)Theme, Space shortcuts, Space content menu
ExamplesFor examples on this wiki space, try this search.For examples on this wiki space, try this search.For examples on this wiki space, try this search.

All of these macros can be configured so that the list of links represents a whole wiki space, or just one page family. For definitions, refer to Definition of Child Page, Wiki Space, Page Family

To insert the Children Display macro:

  1. At the place on the page where you want the list of child pages to appear, type as much of the following as needed to open the macro browser. 

    {children
  2. Select the Children Display macro. A row of buttons appears.
  3. Click Edit. The Edit ‘Children Display’ Macro dialog box appears. 
  4. Configure the parameters, such as the depth (the number of levels of child pages to be displayed).
  5. In the dialog box, click Save. In the page, click Preview or Save. The list of child pages appears.

To insert a Page Tree macro:

  1. At the place on the page where you want the list of child pages to appear, type as much of the following as needed to open the macro browser. 

    {page tree
  2. Select one of the Page Tree macros. The macro appears on the page.
  3. Click the macro. A row of buttons appears. 
  4. Click Edit. The Edit ‘Page Tree’ Macro dialog box appears.
  5. Configure the parameters, such as the depth (the number of levels of child pages to be displayed).
  6. In the dialog box, click Save. In the page, click Preview or Save. The list of child pages appears.


  • No labels