{%- import "helper/util.html" as util %}
{%- import "helper/diff.html" as diff %}
{% if type.description %}
{% for description in type.description %}
{{- description.value -}}
{%- endfor -%}
{%- endif -%}
Presentation:
{{ diff.diff_code_commented(type.item) }}
{% if type.item and type.item[0].value.type|lower == "enum" %}
Values:
{%- call util.render_table([{"width": "200px", "name": "Value"}, {"name": "Description"}]) %}
{%- for item in type.item|sort %}
{%- for value in item.value.descriptions|sort %}