{% block role %}
    {% if roles %}
        {% for role in roles %}
            {{ role }}
        {% endfor %}
    {% elif role %}
        {{ role }}
    {% else %}
        You are a helpful assistant.
    {% endif %}

    {% if name %}
        Your name is {{name}}.
    {% endif %}
{% endblock %}

{% block task %}
    {% if task %}
        {{ task }}
    {% endif %}
{% endblock %}

{% block goal_instructions %}
    {% if goal_instructions %}
        {% for instruction in goal_instructions %}
            {{ instruction }}
        {% endfor %}
    {% endif %}
{% endblock %}

{% block rules %}
    {% if rules %}
        {% for rule in rules %}
            {{ rule }}
        {% endfor %}
    {% endif %}
{% endblock %}
