{report-column}
Plugin: Reporting Plugin
Displays a single column in a report-table.
Description
This macro will usually contain at least one use of the report-info macro, or another macro which displays information about the current item being reported on.
Usage
Parameters
| Name |
Required |
Default |
Description |
| title | | | The title to display in the table header. |
| width | | | The width of the column. E.g. "50px", "20em". |
| summaryType | | | The type of summary to display at the end of this column. May be one of:
- sum - The sum total of all numbers in the column.
- count - The number of non-blank values in the column.
- average - The average of all numbers in the column.
|
| summaryValue | | | The key chain value for the column summary, or plain text to display if the 'summaryType' is not set for this column. E.g. "data:My Number", or "content:children > collection:size". Note: The summary value key can be completely unrelated to what is displaying in the column, if so desired. |
| summaryFormat | | | The number format to use for the summary. E.g. "$#,##0.00". |
| 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
Keychain Injection
Output the title and excerpt of each child page.
Recipes
See Also