{# @description One field a type adds: its label and its value, or a dash when nothing is recorded. #} {# @prop label:text | description:"The field's name." #} {# @prop value:text | description:"The value. Without one the slot is drawn, and without either a dash." #} {# @prop wide:boolean | description:"Spans the whole grid." #} {# @prop text:boolean | description:"A longer piece of writing, set as text rather than a figure." #} {# @slot A value with a link — The value, when it needs markup. #} {% load i18n %}
{{ label }}
{% if value %}{{ value }}{% elif slot %}{{ slot }}{% else %}{% translate "Not recorded" %}{% endif %}