dcs-retribution/resources/ui/templates/factiontemplate_EN.j2

58 lines
908 B
Django/Jinja

{{ faction.description|safe }}
<br/>
<strong>Author(s):</strong> {{ faction.authors }}
<br/><br/>
<strong>Available aircrafts:</strong>
<ul>
{% for aircraft in faction.aircrafts %}
<li>{{aircraft.id}}</li>
{% endfor %}
</ul>
<br/>
<strong>Frontlines vehicles:</strong>
<ul>
{% for vehicle in faction.frontline_units %}
<li>
{% if vehicle.name is not none %}
{{ vehicle.name }}
{% else %}
{{ vehicle.id }}
{%endif %}
</li>
{% endfor %}
</ul>
<br/>
<strong>Artillery units:</strong>
<ul>
{% for arty in faction.artillery_units %}
<li>
{% if arty.name is not none %}
{{ arty.name }}
{% else %}
{{ arty.id }}
{%endif %}
</li>
{% endfor %}
</ul>
<br/>
<strong>Air defenses :</strong>
<ul>
{% for sam in faction.sams %}
<li>{{sam}}</li>
{% endfor %}
</ul>
<br/>
<strong>Short range air defenses :</strong>
<ul>
{% for shorad in faction.shorads %}
<li>{{shorad}}</li>
{% endfor %}
</ul>
<br/>