> For the complete documentation index, see [llms.txt](https://academy.theufolab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.theufolab.com/tips-and-advanced-features/text-templating.md).

# Text templating

When you're using text, you can include information about the game using variables.

Here are un example:  `Fantastic! You have reached {{score}} points!!`&#x20;

{% hint style="info" %}
The text is translated as soon as it's loaded when starting a new level.\
That means if you show {{score}} and after that the game assign more points, the text won't be updated.
{% endhint %}

Here is a list of the available variables:

* `{{score}}` : Shows the current score
* `{{visitedLevels}}` \
  List of visited levels:\
  ![](/files/IzJ6cmtx5FY10wMWyt2m)
* `{{time}}`\
  &#x20;Elapsed time in seconds since the countdown started
* `{{timeLeft}}`\
  Time left of the countdown in seconds
* `{{formattedTime}}`\
  Elapsed time in seconds since the countdown started in format `hh:mm`
* `{{formattedTimeLeft}}`\
  Time left of the countdown in seconds in format `hh:mm`
