> For the complete documentation index, see [llms.txt](https://academy.spycat.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.spycat.ru/spycat-page/redaktirovanie-teksta/kak-sdelat-peremennuyu.md).

# Переменная

**Шаг 1.** При создании страницы выберите блок с текстом.

<figure><img src="/files/PmmzSKNaZDLcbBluqUEa" alt=""><figcaption></figcaption></figure>

**Шаг 2.** Перейдите к редактированию блока.

<figure><img src="/files/GXEICkJAz4PQ4DwW63Al" alt=""><figcaption></figcaption></figure>

**Шаг 3.** В текстовом поле наберите фигурную скобку «{» и выберите необходимую переменную {имя}, {любимый} и т. д.

<figure><img src="/files/UoRSQHkyjaanZwbSvBc1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
В приложении доступно 2 типа переменных: имя пользователя и имя второй половинки из статуса «Семейное положение». Имя второй половинки доступно в разных падежах. Если у пользователя в семейном статусе пусто, то переменная изменится на слово «Любимый/любимая» в выбранном ранее падеже.
{% endhint %}

**Шаг 4.** Сохраните изменения настроек блока.

<figure><img src="/files/NlR1cVmGDAf8VKmd3GcP" alt=""><figcaption></figcaption></figure>

**Шаг 5.** Сохраните изменения всей страницы.

<figure><img src="/files/EWaXp7ipcE0K19xpPytJ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://academy.spycat.ru/spycat-page/redaktirovanie-teksta/kak-sdelat-peremennuyu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
