khguide/templates/components/ddd/abilities.html

49 lines
917 B
HTML
Raw Permalink Normal View History

<div class="abilities">
<div>
<h2>Stats</h2>
<ul>
{% for val in board.stats %}
{% if val.0 > 1 %}
<li>x{{+ val.0 +}} {{+ val.1 +}}</li>
{% else %}
<li>{{+ val.1 +}}</li>
{% endif %}
{% endfor %}
</ul>
</div>
{% let supports = board.get_supports() %}
{% if supports.len() > 0 %}
<div>
<h2>Support</h2>
<ul>
{% for ability in supports %}
<li>{{ ability.name }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% let spirits = board.get_spirits() %}
{% if spirits.len() > 0 %}
<div>
<h2>Spirit</h2>
<ul>
{% for ability in spirits %}
<li>{{ ability.name }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% let commands = board.get_commands() %}
{% if commands.len() > 0 %}
<div>
<h2>Commands</h2>
<ul>
{% for ability in commands %}
<li>{{ ability.name }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
</div>