{% load django_auxiliaries_tags aldine_tags tour_guide_tags %} {% block prologue %} {% endblock %}
{% for cell, item in cells_and_items %} {% if figure.anchor_category %} {% concat figure.anchor_category '-' figure_id '-' cell.source_order|add:'1' as subfigure_id %} {% define_anchor figure.anchor_category cell.annotations.caption.anchor_identifier|default:subfigure_id level=figure.anchor_level|default_if_none:0 as figure_anchor_id %} {% endif %}
{% if cell.annotations.link %}{% endif %} {% render_responsive_cell responsive_delegate cell item=item %} {% if cell.annotations.link %}{% endif %} {% if figure.show_captions %} {% if figure.anchor_category and cell.annotations.caption.anchor_identifier %} {% label_anchor figure.anchor_category cell.annotations.caption.anchor_identifier %} {% endif %} {% if cell.annotations.caption_text_css_class and cell.annotations.caption.text %}{{ cell.annotations.caption.text }}{% else %}{{ cell.annotations.caption.text }}{% endif %} {% endif %}
{% endfor %} {% block caption_prologue %} {% endblock %} {% if figure.caption %}
{{ figure.caption }}
{% endif %} {% block caption_epilogue %} {% endblock %}
{% block epilogue %} {% endblock %}