My Wallet

{% comment %} `id="id_game_kit"` lets `gameboard.js`'s `initGameKitTooltips()` scope its `.token` query here. `display: contents` (in `_game-kit.scss`) keeps this wrapper layout-invisible so the section's own grid still applies. Trinkets (PASS/BAND/CARTE/COIN) COPY the Game Kit applet's tooltip + DON/DOFF wiring so the user can equip from either surface; Free + Tithe tokens MOVE here from Game Kit (they aren't equippable). Writs uses the same `.token` + `.tt` chrome so all four item types read as one consistent inventory row. {% endcomment %}
{% if pass_token %}
{% if pass_token.pk == equipped_trinket_id %}{% else %}{% endif %}

{{ pass_token.tooltip_name }}

{{ pass_token.tooltip_description }}

{% if pass_token.tooltip_shoptalk %}

{{ pass_token.tooltip_shoptalk }}

{% endif %}

{{ pass_token.tooltip_expiry }}

{% endif %} {% if band %}
{% if band.pk == equipped_trinket_id %}{% else %}{% endif %}

{{ band.tooltip_name }}

{{ band.tooltip_description }}

{% if band.tooltip_shoptalk %}

{{ band.tooltip_shoptalk }}

{% endif %}

{{ band.tooltip_expiry }}

{% endif %} {% if carte %}
{% if carte.current_room %}{% elif carte.pk == equipped_trinket_id %}{% else %}{% endif %}

{{ carte.tooltip_name }}

{{ carte.tooltip_description }}

{% if carte.tooltip_shoptalk %}

{{ carte.tooltip_shoptalk }}

{% endif %}

{{ carte.tooltip_expiry }}

{% endif %} {% if coin %}
{% if coin.current_room %}{% elif coin.pk == equipped_trinket_id %}{% else %}{% endif %}

{{ coin.tooltip_name }}

{{ coin.tooltip_description }}

{% if coin.tooltip_shoptalk %}

{{ coin.tooltip_shoptalk }}

{% endif %}

{{ coin.tooltip_expiry }}

{% endif %} {% if free_tokens %} {% with free_tokens.0 as token %}
{% if free_count > 1 %}{% if free_count > 99 %}99+{% else %}{{ free_count }}{% endif %}{% endif %}

{{ token.tooltip_name }}{% if free_count > 1 %} (×{% if free_count > 99 %}99+{% else %}{{ free_count }}{% endif %}){% endif %}

{{ token.tooltip_description }}

{% if token.tooltip_shoptalk %}

{{ token.tooltip_shoptalk }}

{% endif %}

{{ token.tooltip_expiry }}

{% endwith %} {% endif %} {% if tithe_tokens %} {% with tithe_tokens.0 as token %}
{% if tithe_count > 1 %}{% if tithe_count > 99 %}99+{% else %}{{ tithe_count }}{% endif %}{% endif %}

{{ token.tooltip_name }}{% if tithe_count > 1 %} (×{% if tithe_count > 99 %}99+{% else %}{{ tithe_count }}{% endif %}){% endif %}

{{ token.tooltip_description }}

{{ token.tooltip_expiry }}

{% endwith %} {% endif %} {# Writs placeholder — currency tier (NOT a Token model row). Tooltip #} {# mirrors the Token-style chrome so the row reads as one inventory. #} {# Count lives in the badge (Writs count > 0); empty case still renders #} {# the icon since Writs are the base balance unit. #}
{% if user.wallet.writs > 0 %}{% if user.wallet.writs > 99 %}99+{% else %}{{ user.wallet.writs }}{% endif %}{% endif %}

Writs{% if user.wallet.writs > 0 %} (×{% if user.wallet.writs > 99 %}99+{% else %}{{ user.wallet.writs }}{% endif %}){% endif %}

Base currency unit

Earned at the gate; spent in the shop.