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