{{- $cite_options := ( dict "c" .c "g" .g "section" "books" "schemaType" "Book" "title" ( cond ( isset .c "subtitle" ) ( printf "%s: %s" .c.title .c.subtitle ) ( .c.title ) ) "edition" ( default .c.edition_name .c.Edition ) ) -}} {{- if .c.work.original_language -}} {{- $cite_options = merge $cite_options ( dict "titleLang" .c.work.original_language "titleTrans" .c.work.title ) -}} {{- end -}} {{- partial "cite" $cite_options -}}