{% import 'macro/badge.html' as badge %}
{% import 'macro/card.html' as card %}

<div class="card mb-3">
  {{ card.header(item, item.fields.name, solo=true, identifier=item.fields.set) }}
  {{ card.image(item, solo=true, last=false, caption=item.fields.name, alt=item.fields.set) }}
  <div class="card-body p-1">
    {{ badge.theme(item.theme.name) }}
    {{ badge.year(item.fields.year) }}
    {{ badge.parts(item.fields.number_of_parts) }}
  </div>
</div>
