Include Excerpt from Child Page in Confluence?

Miko Makela June 11, 2012

I'm trying to include excerpt from a child page in the Parent page table, how can I acheive that?

Thanks in advance!

2 answers

0 votes
SarahA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2012

Hallo Miko

You can also use the Children Display macro, and set the "Include Excerpts" parameter. (This doesn't work in a table, but it may suit your purposes.)

Use the Excerpt macro to define an excerpt on each child page. The Children Display macro will then display the title of each child page, and the excerpt from each.

Here's the documentation:

https://confluence.atlassian.com/display/DOC/Children+Display+Macro

Or this, if you're using Confluence 3.5:

https://confluence.atlassian.com/display/CONF35/Children+Display+Macro

Here's an example of a page that uses this technique:

https://confluence.atlassian.com/display/CROWD/Crowd+User%27s+Glossary

Here's another, with a different format set for the Children Display macro:

https://confluence.atlassian.com/pages/viewpage.action?pageId=91554183

I hope this is helpful.

Cheers, Sarah

0 votes
Andrew Frayling
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2012

Hi Miko,

You should be able to do that with the {excerpt} and {excerpt-include} macros. On the child page use the {excerpt} macro to wrap the text that you want to include on the parent page, e.g.

{excerpt}
This is some text on the child page that I want to include somewhere else.
{excerpt}

and on the parent page use the {excerpt-include} macro to include the child page that you have used the {excerpt} macro on.

Hope that makes sense?

Andrew.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events