Geschlecht auch in Charakterliste und Kopfzeile des Bogens anzeigen

This commit is contained in:
torsten 2026-11-22 12:48:59 +01:00
parent 9388d04e98
commit a79e7e7781
2 changed files with 6 additions and 0 deletions

View file

@ -53,6 +53,9 @@ foreach ($characters as $character) {
</div>
<div class="meta">
<?= e((string) $character['class_name']) ?> · Stufe <?= (int) $character['level'] ?>
<?php if ((string) ($character['gender'] ?? '') !== ''): ?>
· <?= e((string) $character['gender']) ?>
<?php endif; ?>
<?php if ((string) $character['title'] !== ''): ?>
· <?= e((string) $character['title']) ?>
<?php endif; ?>