{% import 'macro/table.html' as table %}
{{ table.header(quantity=true, missing_parts=true, sets=true) }} {% for item in table_collection %} {{ table.image(item.url_for_image(), caption=item.fields.name, alt=item.fields.fig_num) }} {% endfor %}
{{ item.fields.name }} {% if all %} {{ table.rebrickable(item) }} {% endif %} {{ item.fields.total_quantity }} {{ item.fields.total_missing }} {{ item.fields.total_sets }}
{% if all %} {{ table.dynamic('minifigures', no_sort='0', number='2, 3, 4')}} {% endif %}