{% extends "base.html" %} {% block title %}The {{ element.name_with_brackets }} element{{ element.optional_disambiguation }}{% endblock %} {% block content %}

The {{ element.name_with_brackets }} element{{ element.optional_disambiguation }}

Parent element{{ parents|pluralize }}: {% if parents %} {% for parent in parents %} {{ parent.name_with_brackets }}{{ parent.optional_disambiguation }}{% if not forloop.last %}, {% endif %} {% endfor %} {% else %} None {% endif %}

{% if element.description %} {{ element.description|safe|linebreaks }} {% elif element.base_element and element.base_element.description %} {{ element.base_element.description|safe|linebreaks }} {% endif %}

Content

{% if content_data_type %}

{{ content_data_type.name }}

{% elif child_relationships %} {# This is a hacky way of inserting the

only in appropriate cases. #} {% if child_relationships|length == 1 and not child_relationships.0.is_abstract_element %}

{% include "includes/element_child_relationships.html" with element=element %}

{% else %} {% include "includes/element_child_relationships.html" with element=element %} {% endif %} {% else %}

Always empty.

{% endif %}

Attributes

{% if attributes %} {% for attribute in attributes %} {% endfor %}
Name Type Required? Description
{{ attribute.name }} {{ attribute.data_type.name }} {{ attribute.is_required|yesno|title }} {{ attribute.description|safe|linebreaksbr }}
{% else %}

None.

{% endif %} {% if concepts %}

Related concepts

{% endif %} {% if examples %}

Examples

This element is used in the following examples:

{% for example in examples %}{{ example.example.name }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} {% endblock %}