Confluence 3.5 : Excerpt Include Macro
This page last changed on Oct 21, 2010 by smaddox.
The Excerpt Include macro is used to display 'excerpted' (that is, a segment of) content from one page in another.
The excerpt appears as shown below: Excerpt Macro
A short summary of this page
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: Usage with the Macro BrowserTo 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. Usage with the Wiki Markup Editor
For this example, we are taking content from a page called 'Excerpt Macro', where the excerpt tags have already been placed. ParametersParameters are options that you can include in Confluence macros to control the content or format of the macro output. The table below lists relevant parameters for this macro. Parameter names are different in the macro browser and in wiki markup. Below we show the macro browser parameter names in bold text, and the equivalent wiki markup parameters in (bracketed) text. If we do not show any parameter name for the wiki markup, then you should leave out the parameter name and simply include the parameter value as the first parameter, immediately after the colon (:).
ExamplesBasic example The following code renders an excerpt from this page with default settings: {excerpt-include:Excerpt Macro} The excerpt appears as shown below: Excerpt Macro
A short summary of this page
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: A short summary of this page RELATED TOPICSExcerpt Macro Take me back to the Confluence User's Guide. |
![]() |
Document generated by Confluence on Mar 16, 2011 18:23 |