{% endif %}
{% set hasCountryCode = profile_user.hasCountryCode %}
{% set age = profile_user.age %}
{% set hasAge = age > 0 %}
{% if hasCountryCode or hasAge %}
{% if hasCountryCode %}{% endif %}
{% if hasCountryCode %}{{ profile_user.countryCode|country_name }}{% endif %}
{% if hasAge %}{% if hasCountryCode %}, {% endif %}{{ age }} year{{ age != 's' ? 's' : '' }} old{% endif %}
{% endif %}
{% else %}
User not found!
Check the link and try again.
{% endif %}
{% if profile_user is defined %}
{% if profile_mode is empty %}
{% if profile_is_editing %}
DiscardSettings
{% elseif profile_can_edit %}
Edit Profile
{% endif %}
{% else %}
Return
{% endif %}
{% endif %}
{% if stats is defined %}
{% for stat in stats %}
{% if stat.value|default(0) > 0 %}
{% set is_date = stat.is_date|default(false) %}
{% set is_url = stat.url is defined %}
{% set active_class = stat.active|default(false) ? ' profile__header__stat--active' : '' %}
{% if is_url %}
{% else %}
This user has been banned {% if profile_ban_info.isPermanent %}permanently{% else %}for {{ profile_ban_info.remainingString }}{% endif %} since .
{% if not profile_is_guest and profile_ban_info.hasPublicReason %}