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

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

  • The Children Display macro ("children" in Source Editor) parameters are Show Descendants, Parent Page, Number of Children, Depth of Descendants, Heading Style, Excerpt Display, Sort Children By, and Reverse Sort. For examples on this wiki space, try this search.

  • The Page Tree macro ("pagetree" in Source Editor) parameters are Root Page, Restrict to this Space Key, Sort Pages By, Include Excerpts in the Page Tree, Reverse Order, Show Expand/Collapse Links, Start Depth. (This macro also has a parameter, Include Search Box above Page Tree, but the resulting search box is not 508-compliant. It causes a "Missing form label" error.) For examples on this wiki space, try this search.

  • The Page Tree macro ("rw-pagetree" in Source Editor) parameters are Space, Root page, Include search bar above page tree, Include expand/collapse buttons, Theme, Space shortcuts, Space content menu, Expand depth. (This macro also has a parameter, Include search box above page tree, but the resulting search box is not 508-compliant. It causes a "Missing form label" error.) 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