{% if widget.compact %}{% with first=widget.subwidgets.0 last=widget.subwidgets.1 %}
{% if widget.unlabelled %}{{ widget.label }}{% endif %} {% with widget=first %}{% include widget.template_name %}{% endwith %} {% with widget=last %}{% include widget.template_name %}{% endwith %}
{% endwith %}{% else %} {% if widget.joined %}
{% elif widget.unlabelled %}
{% else %}
{% endif %} {% for part in widget.subwidgets %} {% endfor %}
{% endif %}