2010-09-17 21:28:46 +00:00
|
|
|
{% load get_range %}
|
2010-09-22 04:52:00 +00:00
|
|
|
{% if cost == 'T' %}
|
|
|
|
<span class="mana symbol">↷</span>
|
|
|
|
{% else %}
|
|
|
|
{% if cost.x %}<span class="mana symbol">X</span>{% endif %}
|
|
|
|
{% if cost.y %}<span class="mana symbol">Y</span>{% endif %}
|
|
|
|
{% if cost.z %}<span class="mana symbol">Z</span>{% endif %}
|
|
|
|
{% if cost.any > 0 or cost.converted == 0 %}
|
2010-09-23 03:48:16 +00:00
|
|
|
{% if not cost.x and not cost.y and not cost.z %}
|
|
|
|
<span class="mana symbol">{{ cost.any }}</span>
|
|
|
|
{% endif %}
|
2010-09-22 04:52:00 +00:00
|
|
|
{% endif %}
|
|
|
|
{% for i in cost.snow|get_range %}
|
|
|
|
{# use the unicode snowflake symbol #}
|
|
|
|
<span class="mana symbol">❄</span>
|
|
|
|
{% endfor %}
|
|
|
|
{% for type, mana in cost.mana.mana.items %}
|
|
|
|
{% for i in mana|get_range %}
|
|
|
|
<span class="mana symbol {{ type }}"></span>
|
|
|
|
{% endfor %}
|
2010-09-17 21:28:46 +00:00
|
|
|
{% endfor %}
|
2010-09-22 04:52:00 +00:00
|
|
|
{% endif %}
|