<{{ check_type }} {% for key, value in data.items %} {% if value %}{{ key }}="{{ value }}"{% endif %}{% endfor %}/>