{{ entry.band_gap|floatformat:4|default:"--" }} {% if entry.is_gap_direct %} {% else %} {% endif %} {% if entry.is_metal %} {% else %} {% endif %} {{ entry.nbands|default:"--" }}