The Excerpt Include macro is used to display 'excerpted' (that is, a segment of) content from one page in another.
Before you can use this macro, the excerpt must have been defined using the Excerpt macro. Note that you can have more than one Excerpt Include macro on a page (although you can have only one Excerpt macro on a page).
The paragraph below shows an example of an Excerpt Include macro, containing content from an excerpt which we have defined on the Excerpt Macro page. On the Excerpt Include macro below, we have set the options to show both the title of the page and the panel surrounding the content.
To add the Excerpt Include macro to a page:
Parameter | Default | Description | |
|---|---|---|---|
Page Containing the Excerpt | none | Type the name of the page that contains the excerpt to be displayed. You can use an excerpt from a page in the same space or another space in the same wiki. When you type the name of the page into the Excerpt Include macro dialog, Confluence will offer a list of matching pages, including those from other spaces. Alternatively, you can type the space key followed by a colon (:) and the page name, like this:
This parameter is unnamed in wikimarkup. | |
Remove Surrounding Panel | false | Determines whether Confluence will display a panel around the excerpted content. The panel includes the title of the page containing the excerpt, and the border of the panel. By default, the panel and title are shown. |
The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page.
Macro name: excerpt-include
Macro body: None.
<ac:macro ac:name="excerpt-include"> <ac:parameter ac:name="nopanel">true</ac:parameter> <ac:default-parameter>My page name</ac:default-parameter> </ac:macro> |
{excerpt-include:My page name|nopanel=true} |