{% extends "main.html" %} {% block title %}Card: {{ card.name }}{% endblock %} {% block content %}
{{ card.name|title }} {% include 'cards/manacost.html' %}
{{ card.type|title }} {% if card.attributes.all %} — {% for attr in card.attributes.all %} {{ attr|title }} {% endfor %} {% endif %} {% for key, rarity in card.rarities.items %} {% if key == card.rarity %}{{ rarity }}{% endif %} {% endfor %}
{% if card.toughness > '0' %}
{{ card.power }} / {{ card.toughness }}
{% endif %}
{% endblock %}