dcs_liberation/resources/ui/templates/factiontemplate_EN.j2
2022-08-31 09:47:17 -07:00

63 lines
1.4 KiB
Django/Jinja

{{ faction.description|safe }}
<br/>
<strong>Author(s):</strong> {{ faction.authors }}
<br/><br/>
<strong>Potential aircraft:</strong>
<p>
The aircraft that will be present in the game are specified by the campaign.
Only aircraft in this list will be allowed, but not all aircraft in this
list will necessarily be available.
</p>
<p>
If the campaign you chose doesn't include the aircraft you want to fly, you
can mod the campaign by following the squadron section of the
<a style="color: #ffffff"
href="https://github.com/dcs-liberation/dcs_liberation/wiki/Custom-Campaigns#squadron-configuration">
custom campaigns guide</a>.
</p>
<ul>
{% for aircraft in faction.aircrafts | sort(attribute="name") %}
<li>{{aircraft.name}}</li>
{% endfor %}
</ul>
<br/>
<strong>Frontlines vehicles:</strong>
<ul>
{% for vehicle in faction.frontline_units | sort(attribute="name") %}
<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 | sort(attribute="name") %}
<li>
{% if arty.name is not none %}
{{ arty.name }}
{% else %}
{{ arty.id }}
{%endif %}
</li>
{% endfor %}
</ul>
<br/>
<strong>Air defenses:</strong>
<ul>
{% for air_defense in faction.air_defenses | sort() %}
<li>{{air_defense}}</li>
{% endfor %}
</ul>
<br/>