...
Also, it will automatically loop multiple values if the supplied key is a collection or iterator, rendering the contents against each item.
Parameters
Name | Required | Migratable to Cloud? | Default Value | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
[default] /key |
|
| @self | The key value to display. Defaults to @self (Since 2.0.0). | ||||||||
injected |
|
| false | (Since 2.0.0) If set to true, the body will have any '%prefix:keychain%' values injected with values from the current item prior to being rendered. If the current value being reported on is a collection, the injection will happen on each collection item as it is processed. | ||||||||
default |
|
| The contents of this parameter will be used if the item/key is empty. It will be rendered as wiki text. Alternately, the body of macro can also be used, if more complex wiki text is required. | |||||||||
separator |
|
| comma | If the item/key points to a list of results, the type of separator to display between each item. May be one of the following:
| ||||||||
trim |
|
| If false, the whitespace at the beginning and end of the body will not be removed. |
Editor View
...
Macro Edit View
...