get-data

{get-data}

Plugin: Scaffolding Plugin, from version 2.3-dr5

Displays stored field data. Numbers and dates may be formatted nicely.

Usage

{get-data:name=[Field Name]|format=[date or number format]}Default value{get-data}

Parameters

Name Required Default Description
[default]/name
The name of the field. May be a 'field path' (e.g. 'Group Name.Field Name')
default
The default value to display (rendered as wiki directly) if the field is not set. Alternately, the default can be set as the body of this macro.
name
Parameter description goes here.
format
The number format (e.g. '#,##0.00') or date format (e.g. 'dd MMM yyyy') to use when parsing the value being set. The parameter will be ignored for data types other than 'number' or 'date'.
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:
  • bracket - Square brackets ('[', ']') surrounding each item.
  • brace - Braces ('{', '}') surrounding each item.
  • comma - A comma (',') between each item.
  • paren - Parentheses ('(', ')') surrounding each item.
  • pipe - A pipe ('|') between each item.
  • newline - A line break after each item.
  • "custom" - Any other character you wish, specified between quotes.

Notes

Unlike report-info, this macro can tell when it is inside a scaffolding table-data or repeating-data macro and will access locally-stored properties within the repeating section.

See Also

Labels

macro macro Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.