Skip to main content

Overview

The template transformation applies a template string with variable substitution.

Syntax

template(<variable>, template="")

Parameters

ParameterTypeRequiredDescription
variableanyYesThe variable to use in template
templatestringYesThe template string with placeholders

Examples

template(<variable>, template="Hello {name}, you have {count} items")
Template placeholders are typically defined using curly braces {} or similar syntax depending on the template format.