You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 118 Next »

Use the Children Display Macro to display the children and the descendants of a page.

Note that only pages to which you have 'View' permission will be displayed.

Children Display Macro

What you need to type

What you will get

{children}

Error rendering macro 'children'

null


Optional Parameters

Display all descendants of the page

What you need to type

What you will get

{children:all=true}

Error rendering macro 'children'

null




Specify the page for which you want to display children

What you need to type

What you will get

{children:page=children display macro}




Specify the depth of descendants

What you need to type

What you will get

{children:depth=2}




Specify the style in which descendants are displayed

Choose from heading levels h1 to h6.

What you need to type

What you will get

{children:depth=1|style=h3}

Error rendering macro 'children'

null




Display the child pages' excerpts, if they exist

What you need to type

What you will get

{children:depth=2|excerpt=true}

If the page parameter is '/', then the macro will list all the current space's "top level" pages – those without parents. If the page parameter is a space key followed by a
colon (e.g {children:page=DOC:}), then the top level pages of that space will be listed.

RELATED TOPICS

Working with Page Families
Working with Macros

Take me back to Help Home

  • No labels