{% extends "layout.html" %} {% block content %}
{% if character.image_path %} {{ character.name }} {% else %} No Image Attached {% endif %}
{# Additional Prompts #}
Seed
0%
Selected Preview
Preview
Tags
{% for tag in character.data.tags %} {{ tag }} {% endfor %}
{% set outfits = character.get_available_outfits() %}
Wardrobe {{ outfits|length }} outfit(s)
{% if character.assigned_outfit_ids %}
{% for outfit_id in character.assigned_outfit_ids %} {% set outfit = get_outfit_by_id(outfit_id) %} {% if outfit %} {{ outfit.name }}
{% endif %} {% endfor %}
{% endif %}
{% for section, details in character.data.items() %} {% if section == 'wardrobe' %} {# Special handling for wardrobe - show active outfit #} {% set active_wardrobe = character.get_active_wardrobe() %}
Wardrobe {% if outfits|length > 1 %} {{ character.active_outfit or 'default' }} {% endif %} {% if outfits|length > 1 %} Manage Outfits {% endif %}
{% for key, value in active_wardrobe.items() %} {% set is_default = character.default_fields is not none and ('wardrobe::' ~ key) in character.default_fields %}
{{ key.replace('_', ' ') }} {% if is_default %}DEF{% endif %}
{{ value if value else '--' }}
{% endfor %}
{% elif section not in ['character_id', 'tags', 'name'] and details is mapping %}
{{ section.replace('_', ' ') }}
{% if section == 'identity' %} {% set is_name_default = character.default_fields is not none and 'special::name' in character.default_fields %}
Character ID {% if is_name_default %}DEF{% endif %}
{{ character.character_id }}
{% endif %} {% for key, value in details.items() %} {% set is_default = character.default_fields is not none and (section ~ '::' ~ key) in character.default_fields %}
{{ key.replace('_', ' ') }} {% if is_default %}DEF{% endif %}
{{ value if value else '--' }}
{% endfor %}
{% endif %} {% endfor %}
{# /settings-pane #} {% set sg_has_lora = character.data.get('lora', {}).get('lora_name', '') != '' %} {% if sg_has_lora %}
{% set sg_entity = character %} {% set sg_category = 'characters' %} {% include 'partials/strengths_gallery.html' %}
{% endif %}
{# /tab-content #}
{% endblock %} {% block scripts %} {% endblock %}