{% capture support_key %}{{ support[0] }}{% endcapture %} {% capture anysupport %} {% for sw in type.software %} {% if sw.support contains support_key or sw.partial contains support_key %} Y {% endif %} {% endfor %} {% endcapture %} {% if anysupport contains "Y" %} {% if support[1].note %}{{ support[1].note | markdownify }}{% endif %} {% assign popup_above_after = type.software | size | minus: 3 %} {% if popup_above_after < 3 %} {% assign popup_above_after = 3 %} {% endif %}
{% for ext in support[1].specs %}{% if ext[1].deprecated %}{% else %} {% capture ext_name %}{{ ext[0] }}{% endcapture %} {% capture should_show_spec %} {% for sw in type.software %} {% if ext[1].hide-on-servers and type.name contains "Servers" %} {% elsif ext[1].hide-if-no-support %} {% if sw.support[support_key] contains ext_name or sw.partial[support_key] contains ext_name %} Y {% endif %} {% elsif ext[1].draft %} {% if sw.support[support_key] contains ext_name or sw.partial[support_key] contains ext_name or sw.na[support_key] contains ext_name %} Y {% endif %} {% else %} Y {% endif %} {% endfor %} {% endcapture %} {% if should_show_spec contains "Y" %} {% endif %} {% endif %}{% endfor %} {% assign sw_index = 0 %} {% for sw in type.software %} {% assign sw_index = sw_index | plus: 1 %} {% if sw_index < popup_above_after %} {% assign popup_above = false %} {% else %} {% assign popup_above = true %} {% endif %} {% for ext in support[1].specs %}{% if ext[1].deprecated %}{% else %} {% capture ext_name %}{{ ext[0] }}{% endcapture %} {% capture should_show_spec %} {% for sw in type.software %} {% if ext[1].hide-on-servers and type.name contains "Servers" %} {% elsif ext[1].hide-if-no-support %} {% if sw.support[support_key] contains ext_name or sw.partial[support_key] contains ext_name %} Y {% endif %} {% elsif ext[1].draft %} {% if sw.support[support_key] contains ext_name or sw.partial[support_key] contains ext_name or sw.na[support_key] contains ext_name %} Y {% endif %} {% else %} Y {% endif %} {% endfor %} {% endcapture %} {% if should_show_spec contains "Y" %} {% endif %} {% endif %}{% endfor %} {% endfor %}
{{ ext[1].name }}
{% endif %}