Report Templates > Parameters

This page has information about parameters for report variables. See the Report Templates page for more information about Simon's report templates.

Variables are tags in the file that are replaced by another value when the report is used. Variables are enclosed in curly braces, and have a variable name optionally followed by any number of parameters, e.g. {status format="lowercase"}. There must be no spaces other than between parameters, and the parameter values must be quoted. The variable name, parameter names, and parameter values are all not case sensitive, so you can use mixed-case to make them clearer, if you wish.

Most variables support the following parameters, where relevant; if omitted, the indicated default is used (though some variables override this, e.g. {LastDifference} defaults to encode="html"):

Parameter:Values:Default:Outputs:
Encode"html", "text""text"If "html", "<" and ">" characters are encoded to avoid treating as HTML tag delimiters.
Format"uppercase", "wordcase", or "lowercase"noneChanges the capitalization of the output.
LengthA numbernoneThe maximum length of the output text.
Link"yes", "no""no"If "yes", includes a hyperlink to the related Detail page (only relevant on the Summary page).
Relative"self", "parent""self"Whether to express a link or path relative to the page being generated, or its parent directory.
Type"text", "icon", "absolute", "relative""text", "absolute"The test Unseen and Status variables can be displayed as text or icons. Dates can be displayed as absolute dates or relative times.
URLA valid URLnoneIf a URL parameter is specified as well as link="yes", the link uses this URL instead.