Interpolation
With interpolation, you can dynamically change texts and values in various Skate Results features. Interpolation is a way to reference variables in a given context and use them in texts, emails, and other fields.
Syntax
Interpolation is written in plain text:
- Variables are referenced with double curly braces
{{
and}}
. - To reference a variable, use the variable name inside the curly braces.
- To access nested variables, use dot notation.
Hello, {{ athlete.name }}!
If you access a variable that does not exist, the interpolation will be replaced with an empty string.
Features
Interpolation is currently used in the following features:
- Forms (work in progress): Dynamic email texts
- Registration: Dynamic bank transfer purpose
- Livestream inserts: Dynamic texts
- Certificates: Dynamic texts