{% if reference.reference_type == 'class' %} {% set class = reference %}
{{ class.title }} {{ class.modifier }}

{{ class.description }}

{% if class.constructor %} Signature

{{ class.constructor.signature | replace("'", "") }}

{% if class.constructor.parameters %} Parameters {% endif %} {% endif %}
{% for variable in class.variables %}
{{ variable.title }} {{ variable.modifier }}

{{ variable.description }}

{% if variable.signature %} Signature

{{ variable.signature }}

{% endif %}
{% endfor %} {% for property in class.properties %}
{{ property.title }} {{ property.modifier }}

{{ property.description }}

{% if property.signature %} Signature

{{ property.signature }}

{% endif %}
{% endfor %} {% for method in class.methods %}
{{ method.title }} {{ method.modifier }}

{{ method.description }}

{% if method.signature %} Signature

{{ method.signature }}

{% endif %} {% if method.parameters %} Parameters {% endif %}
{% endfor %} {% endif %} {% if reference.reference_type == 'function' %} {% set function = reference %}
{{ function.title }} {{ function.modifier }}

{{ function.description }}

{% if function.signature %} Signature

{{ function.signature }}

{% endif %} {% if function.parameters %} Parameters {% endif %}
{% endif %}