{% load i18n wagtailadmin_tags %}
{% icon name="help" %}

{% trans "Placeholders" %}

{% trans "Write variable expressions in any content field. They are replaced with real values when the email is sent or previewed, for example:" %} {% templatetag openvariable %} recipient.first_name {% templatetag closevariable %}

{% trans "Only variable expressions are supported. Django template tags such as" %} {% templatetag openblock %} {% trans "are shown literally." %}

{% for group in placeholder_groups %}

{{ group.title }}

{% if group.description %}

{{ group.description }}

{% endif %} {% for item in group.items %} {% endfor %}
{% trans "Placeholder" %} {% trans "Description" %}
{{ item.token }} {{ item.description }}
{% endfor %}

{% trans "Formatting dates and times" %}

{% trans "Use Django's date and time filters to format now (or any date value), for example" %} {% templatetag openvariable %} now|date:"j F Y" {% templatetag closevariable %}. {% trans "Date filter reference" %}