{report-body}
Plugin: Reporting Plugin, from version 1.0
This macro contains the wiki code which will be executed for each item of the surrounding report.
Description
It is used by the report-block and report-list macros. It will usually contain one or more uses of the report-info macro to display reported values.
Usage
Parameters
| Name |
Required |
Default |
Description |
| trim | | false | If set to 'true', the body will be have any whitespace at the beginning or end trimmed before being displayed. |
| injected | | false | (Since 2.0.0) If set to true, the body will have any '%prefix:keychain%' values injected with values from the current report item prior to being rendered. |
Examples
List children of the current page
Keychain Injection
Output the title and excerpt of each child page. As you can see, you can mix injected properties and standard {report-info} calls.
Conditional display
From Reporting 2 onwards {report-body} can be displayed conditionally based on filters (e.g. text-filter). This is done by putting any filters the current item must match immediately before the {report-body} definition. For example:
Recipes
See Also