{{ $model := . }} {{/* .1 - *Content .2 - *Entry .3 - []*RContentsAgents .4 - map[string]*Agent */}} {{- $content := index . 0 -}} {{- $entry := index . 1 -}} {{- $rcas := index . 2 -}} {{- $agents := index . 3 -}}
{{- if $content.Extent -}}
S. {{- $content.Extent -}}
{{- end -}} {{- if $content.MusenalmType -}}
{{- range $_, $t := $content.MusenalmType -}}
{{- $t -}}
{{- end -}}
{{- end -}}
{{- if $content.TitleStmt -}}
Titel
{{- $content.TitleStmt -}}
{{- end -}} {{- if $content.IncipitStmt -}}
Incipit
{{ $content.IncipitStmt }}…
{{- end -}} {{- if $content.ResponsibilityStmt -}}
Autorangabe
{{- $content.ResponsibilityStmt -}}
{{- end -}} {{- if $rcas -}}
Personen
{{- range $_, $rca := $rcas -}}
{{- $agent := index $agents $rca.Agent -}} {{- if $agent -}}
{{- $agent.Name -}} ({{ $agent.BiographicalData -}})
{{- end -}}
{{- end -}}
{{- end -}} {{- if $content.Annotation -}}
Anmerkung
{{- Safe (LinksAnnotation (ReplaceSlashParen $content.Annotation)) -}}
{{- end -}}
{{- $scans := $content.ImagePaths -}} {{- $slen := len $scans -}} {{- $double := false -}} {{- if gt $slen 2 -}} {{- $double = true -}} {{- end -}}
{{- if $scans -}}
{{- range $_, $scan := $scans -}}
{{- end -}}
{{- end -}}
NR {{ $content.MusenalmID -}}