{% if element.attributes.access %} {{ element.attributes.access }} {% endif %} {% if element.type_name %} {{ element.type_name }} {% endif %} {%- if element.alias_name -%} {{ element.alias_name }} {%- else -%} {{ element.name }} {%- endif -%} {%- if element.is_callable -%}( {%- for param in element.attributes.params -%} {{ param.name }} {%- if param.default != None -%}={{ param.default }}{%- endif -%} {%- if param.is_sequenced -%}...{%- endif -%} {%- if not loop.last -%}, {% endif -%} {%- endfor -%} ){%- endif %} {% if element.attributes.inherits %} inherits {% if element.attributes.inherits.ref %} {{ element.attributes.inherits.ref_html }} {%- else %} {{ element.attributes.inherits.inherits }} {%- endif %} {%- endif %} {% if element.attributes.valtype and element.attributes.valtype.valtype != element.type_name -%} { {%- if element.attributes.valtype.ref != None -%} {{ element.attributes.valtype.ref_html }} {%- else -%} {{ element.attributes.valtype.valtype }} {%- endif -%} {%- if element.attributes.valtype.default != None -%} ={{ element.attributes.valtype.default }} {%- endif -%} } {% if element.attributes.valtype.description_html %} - {{ element.attributes.valtype.description_html }} {%- endif -%} {% endif %}

{%- if element.attributes.params %} {%- endif %} {%- if element.attributes.return %}
returns { {%- if element.attributes.return.type.ref -%} {{ element.attributes.return.type.ref_html }} {%- else -%} {{ element.attributes.return.type.type }} {%- endif -%} } {{ element.attributes.return.description_html }}
{%- endif %} {% if element.description_html %}
{{ element.description_html }}
{% endif %} {% if element.attributes.examples %}

Examples:

{% for example in element.attributes.examples %}

{{ example.title }}

{{ example.description_html }}
{{ example.code_html }}
{% endfor %} {% endif %} {%- if element.source_visible -%}
File: {{ element.filepath }} Line: {{ element.startline }}
{% endif %} {% if element.attributes.author %}
Author: {{ element.attributes.author }}
{% endif %} {% for _element in element.properties.values() %} {% if _element.type != None %} {% if _element.is_separate %}
{{ _element.type }} {{ _element.name }}
{% else %}
{{ render_element(_element) }}
{% endif %} {% endif %} {% endfor %}