Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Several parameters in various macros support being injected using a "%key:value%" syntax, also known as which are called Supplier Keychains.

Parameter Injection

The parameters which support this are marked as such in the relevant macro documentation page. This allows you to inject Supplier values inject Supplier values into the parameter, based on whatever the context of the macro is in.

For example, the Report Variable macro (from REP) uses this for the 'value' and 'default' Name and Valueparameters, like so:

...

Image Added

You can also use do this multiple times, or within the context of other text, in which case it will result in a Text value, as shown in the following example:

Image Added

Where the full Value is:

Code Block
{report-variable:Message|value=Created by %page:creator > user:name% on %page:creation date > date:dd-MMM-yyyy%}

See Also

...