{{ card.name|title }}
{% if card.cost %} {% with card.cost as cost %} {% include 'cards/manacost.html' %} {% endwith %} {% endif %}
{{ card.type|title }} {% if card.attributes %} — {{ card.attributes|join:" "|title }} {% endif %}
{% for key, rarity in card.rarities.items %} {% if key == card.rarity %}{{ rarity }}{% endif %} {% endfor %}
{% for ability in card.text %}
{{ ability }}
{% endfor %}