{% extends "base.twig" %} {% import "macros/profileelements.twig" as profile %} {% block page_title %} {{ team.team_name }} {% endblock %} {% block page_content %}

{% for strengthlevel in 1..5 %} {% endfor %}

{% if team.team_logo|length > 0 %}
{% endif %}
{% if team.team_league_id > 0 %} {% set league = "" ~ team.team_league_name|e ~ "" %} {% else %} {% set league = "-" %} {% endif %} {% if team.team_user_id > 0 %} {% set manager = "" ~ team.team_user_name|e ~ "" %} {% if team.user_picture|length > 0 %} {% set manager = " " ~ manager %} {% endif %} {% if team.interimmanager %} {% set manager = manager ~ "
" ~ i18n.getMessage("entity_club_interimmanager") ~ "" %} {% endif %} {% else %} {% set manager = "-" %} {% endif %} {% if team.team_deputyuser_id > 0 %} {% set deputy = "" ~ team.team_deputyuser_name|e ~ "" %} {% if team.user_picture|length > 0 %} {% set deputy = " " ~ deputy %} {% endif %} {% endif %} {% if stadium.stadium_id is defined and stadium.stadium_id > 0 %} {% set capacity = stadium.places_stands + stadium.places_seats + stadium.places_stands_grand + stadium.places_seats_grand + stadium.places_vip %} {% set stadiumLabel = stadium.name ~ " (" ~ capacity|number_format(0, ',', ' ') ~ ")" %} {% else %} {% set stadiumLabel = "-" %} {% endif %} {{ profile.infofield(i18n.getMessage("entity_club_kurz"), team.team_short) }} {{ profile.infofield(i18n.getMessage("entity_club_liga_id"), league, true) }} {{ profile.infofield(i18n.getMessage("team_details_manager"), manager, true) }} {% if deputy is defined %} {{ profile.infofield(i18n.getMessage("entity_club_user_id_actual"), deputy, true) }} {% endif %} {% if not team.is_nationalteam %} {% if team.team_min_target_rank > 0 %} {{ profile.infofield(i18n.getMessage("entity_club_min_target_rank"), i18n.getMessage("team_details_season_place", team.team_min_target_rank)) }} {% endif %} {{ profile.infofield(i18n.getMessage("entity_club_stadion_id"), stadiumLabel, true) }} {% if stadium.stadium_id is defined and stadium.stadium_id > 0 and stadium.picture|length > 0 %}
{% endif %} {% if team.team_sponsor_name|length > 0 %} {{ profile.infofield(i18n.getMessage("entity_club_sponsor_id"), team.team_sponsor_name) }} {% if team.team_sponsor_picture|length > 0 %}
{% endif %} {% endif %} {{ profile.infofield(i18n.getMessage("entity_player"), playerfacts.numberOfPlayers) }} {{ profile.infofield('∅ ' ~ i18n.getMessage("entity_player_age"), playerfacts.avgAge|round(2), true) }} {{ profile.infofield('∑ ' ~ i18n.getMessage("entity_player_marktwert"), playerfacts.sumMarketValue|number_format(0, ',', ' ') ~ " " ~ env.getConfig("game_currency"), true) }} {{ profile.infofield('∅ ' ~ i18n.getMessage("entity_player_marktwert"), playerfacts.avgMarketValue|number_format(0, ',', ' ') ~ " " ~ env.getConfig("game_currency"), true) }} {% endif %}

{{ i18n.getMessage("team_details_statistic_season") }}

{{ i18n.getMessage("team_details_statistic_matches") }}
{{ team.team_season_matches }}
{{ i18n.getMessage("team_details_statistic_goals") }}
{{ team.team_season_goals }}
{{ i18n.getMessage("team_details_statistic_againsts") }}
{{ team.team_season_againsts }}
{{ i18n.getMessage("team_details_statistic_wins") }}
{{ team.team_season_wins }}
{{ i18n.getMessage("team_details_statistic_losses") }}
{{ team.team_season_losses }}
{{ i18n.getMessage("team_details_statistic_draws") }}
{{ team.team_season_draws }}
{{ i18n.getMessage("team_details_statistic_score") }}
{{ team.team_season_score }}

{{ i18n.getMessage("team_details_statistic_total") }}

{{ i18n.getMessage("team_details_statistic_matches") }}
{{ team.team_total_matches }}
{{ i18n.getMessage("team_details_statistic_goals") }}
{{ team.team_total_goals }}
{{ i18n.getMessage("team_details_statistic_againsts") }}
{{ team.team_total_againsts }}
{{ i18n.getMessage("team_details_statistic_wins") }}
{{ team.team_total_wins }}
{{ i18n.getMessage("team_details_statistic_losses") }}
{{ team.team_total_losses }}
{{ i18n.getMessage("team_details_statistic_draws") }}
{{ team.team_total_draws }}
{{ i18n.getMessage("team_details_statistic_score") }}
{{ team.team_total_score }}
{% if team.victories is defined and team.victories|length > 0 %} {% endif %} {% if team.cupvictories is defined and team.cupvictories|length > 0 %} {% endif %}
{% if team.victories|length == 0 %}

{{ i18n.getMessage("team_details_noleaguevictories") }}

{% endif %}
{% if team.team_history|length > 0 %}

{{ i18n.getMessage("entity_club_history") }}

{{ team.team_history|nl2br }} {% endif %}
...
...
{% if env.getConfig("youth_enabled") %}
...
{% endif %} {% if env.getConfig("transfermarket_enabled") or env.getConfig("transferoffers_enabled") %}
...
{% endif %}
{% endblock %}