The Excerpt Include macro is used to display 'excerpted' (that is, a segment of) content from one page in another.
To use this macro, the excerpt must have been defined using the Excerpt Macro and both pages must exist in the same space.
The excerpt appears as shown below:
For this example, we are taking content from a page called 'Excerpt Macro', where the excerpt tags have already been placed. The title of the page is shown at the top of the panel and the text between the remote excerpt tags is rendered as the body of the text.
On this page:
To insert the excerpt include macro into a page using the Macro Browser,
|
Once you've found the excerpt include macro, click 'insert' to add it to your page. |
必要な入力項目 |
表示結果 |
|
|---|---|---|
|
|
For this example, we are taking content from a page called 'Excerpt Macro', where the excerpt tags have already been placed.
パラメーター |
既定 |
説明 |
|---|---|---|
nopanel |
false |
Controls whether the square panel border around the excerpt should be removed. By default, the square panel is always shown. |
Basic example
The following code renders an excerpt from this page with default settings:
{excerpt-include:Excerpt Macro} |
The excerpt appears as shown below:
Removing the square panel around the excerpt
By default, the excerpt is displayed within a panel. A value of "nopanel=true" displays the excerpt without the panel.
{excerpt-include:Excerpt Macro|nopanel=true}
|
The excerpt then appears as shown below:
Excerpt Macro
Working with Macros
Take me back to the Confluence User's Guide.