{% for b in buildings %} {% endfor %}
{{ header }}
Building Description Build cost Produces Stores
{# Buildings name and image #} {{ b.displayname }}
{{b.displayname}}
{# Description #} {{ b.help }} {% if b.enhanced_from or b.enhancement %} {% endif %}
Internal name: "{{ b.name }}"
{# Build cost #} {% for costs in b.get_build_cost %}
{% with costs.0 as w %} {{ costs|length }} x {{ w.name }} {% endwith %}
{% endfor %}
{# Produces #} {% if b.produces and not b.trains %} {% for w in b.get_ware_outputs %} {{ w.name }} {% endfor %} {% endif %} {% if b.trains and not b.produces %} {% for wor in b.get_worker_outputs %} {{ wor.name }} {% endfor %} {% endif %} {## Stored wares #} {% for costs in b.get_stored_wares %}
{% with costs.0 as w %} {{ costs|length }} x {{ w.name }} {% endwith %}
{% endfor %}