{% load tg_apicore %}

{{ section.name|capfirst }}

{% render_markdown section.docstring %} {% if section.fields %}
Attributes
    {% for field in section.fields %}
  • {{ field.name }} {% if field.is_create_only %} Create-only {% elif field.is_read_only %} Read-only {% endif %} {% if field.is_required %} Required {% endif %}
    {{ field.description }}
  • {% endfor %}
{% endif %} {% if section.changelog %}
Changelog
    {% for version, changes in section.changelog_items %}
  • {{ version }} – {% render_markdown changes %}
  • {% endfor %}
{% endif %}
{% if section.data %} Example data:
{% code json %}{{ section.data_json }}{% endcode %}
{% endif %}