{# One editable fragment. Also the swap target for "Use default", which is why the whole card carries the id rather than just the textarea. #} {% set field_id = "frag-" ~ fragment.key | replace(".", "-") %}

{{ fragment.label }} {% if overridden %}edited{% endif %} {% for family in fragment.families %}{{ family }}{% endfor %} {% if fragment.when_tools %}with tools{% endif %}

{% if fragment.hint %}

{{ fragment.hint }}

{% endif %}

{{ fragment.key }} {% for name in fragment.variables %} {{{{ name }}}} {% endfor %} {% if fragment.requires %} — only appears when {% for name in fragment.requires %} {{{{ name }}}}{% if not loop.last %} and {% endif %} {% endfor %} has something in it. {% endif %} Leave the box empty to leave this out of the prompt entirely.