NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: In the Refined Page Tree macro (rw-pagetree), the root field seems to require a page ID rather than a page name.

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

Macro Name

...

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.

...

Children Display Page Tree Page Tree 
Macro Name in Source Editorchildren pagetree rw-pagetree 
Root ParametersParent PageRoot Page, Restrict to this Space KeySpace, Root page (page ID of 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 Links (CONFSERVER-60434 is a known issue.)Include expand/collapse buttons
Search Parameters(none)Include Search Box above Page TreeInclude search bar above page tree
Other ParametersNumber of Children, Heading Style(none)Theme, Space shortcuts, Space content menu

...

Visible in PDF?Links are visible in generated PDF.Expand/Collapse options are visible in generated PDF, but the links are not.Neither the Expand/Collapse options nor the links are visible in generated PDF.
ExamplesFor examples on this wiki space, try 

...

...

  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. 

    Code Block
    {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:

...

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. 

Code Block
{page tree

...

.For examples on this wiki space, try searching for the Page Tree macro.For examples on this wiki space, try searching for the Refined Page Tree macro.
Atlassian Help

Confluence: Children Display Macro

Multiexcerpt include
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include

Show If
groupGP-CFW_ADMINS

7.3

Confluence: Page Tree Macro

Multiexcerpt include
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include

Show If
groupGP-CFW_ADMINS

7.3

Refined: Page Tree

Multiexcerpt include
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include

Show If
groupGP-CFW_ADMINS

7.x

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

...