Live template variables

Last modified: 25 October 2024

When you expand a live template abbreviation, its variables either appear as input fields where you can type values or are replaced with values. These may be default values that you can modify or values calculated using functions.

To declare variables within templates, use the following format: $VAR$.

Define each variable using an expression and provide a default value for cases when the expression fails to evaluate.