{% extends "base.html" %} {% block title %}{{ ind.name }} - Personaut{% endblock %} {% block content %}
{# Description #}

Description

{{ ind.description or 'No description provided' }}

{# Background / Metadata #} {% if ind.metadata %}

Background

{% for key, value in ind.metadata.items() %}
{{ key.replace('_', ' ') }} {{ value }}
{% endfor %}
{% endif %} {# Physical Features #} {% if ind.physical_features %}

🧍 Physical Features

{% if ind.portrait_url %}
Portrait of {{ ind.name }}
{% else %}
{% endif %}
{% for key, value in ind.physical_features.items() %}
{{ key.replace('_', ' ') }} {% if value is iterable and value is not string %}{{ value|join(', ') }}{% else %}{{ value }}{% endif %}
{% endfor %}
{% endif %} {# Trait Profile #} {% if ind.trait_profile %}

Personality Traits

{% for trait, value in ind.trait_profile.items() %}
{{ trait_fmt(trait) }}
{{ (value * 100)|int }}%
{% endfor %}
{% endif %} {# Emotional State #} {% if ind.emotional_state %}

Emotional State

{% for emotion, value in ind.emotional_state.items()|sort(attribute='1', reverse=true) %} {% if value > 0 %}
{{ emotion|capitalize }}
{{ (value * 100)|int }}%
{% endif %} {% endfor %} {% set has_any = ind.emotional_state.values()|select('gt', 0)|list %} {% if not has_any %}

All emotions at baseline (0%)

{% endif %}
{% endif %}
← Back to list
{% endblock %} {% block scripts %} {% endblock %}