Excerpt Macro
Description
The Excerpt macro is a bridge between Confluence and XWiki. It allows the user to mark part of the page's content for use by other macros, for instance {{excerpt-include}}.
Parameters
Parameter | Description | Default |
---|---|---|
atlassian-macro-output-type | The ouput type. It can be either BLOCK or INLINE. Here for historical reasons and won't be shown in the macro editor. | INLINE |
hidden | If true, the content of the macro will be hidden. | false |
name | The name of the excerpt, for named includes. | false |
allowUnprivilegedInclude | Allow this excerpt to be seen even for people who don't have view rights on this page when included | false |
Example of usage
Example of excerpt with a table in it:
|=Title1|=Title2|=Title3
|Text1|Text2|Text3
{{/excerpt}}
The result is the following:
Unknown macro: missingLicenseMessage. Click on this message for details.
Example of named hidden excerpt:
My hidden content.
{{/excerpt}}
The result is the following:
Unknown macro: missingLicenseMessage. Click on this message for details.
(yes, nothing, this is intended!)
Let's include this hidden excerpt:
Result:
Unknown macro: excerpt-include. Click on this message for details.
Without the panel:
Result:
Unknown macro: excerpt-include. Click on this message for details.