{{- $intro := $.Page.Param "event.weekly.intro" }}
{{- if not $intro }}
{{- errorf "missing value for 'event.weekly.intro': %s" .Position }}
{{- end }}
{{- $weekday := $.Page.Param "event.weekly.weekday" }}
{{- if not $weekday }}
{{- errorf "missing value for 'event.weekly.weekday': %s" .Position }}
{{- end }}
{{- $begin := $.Page.Param "event.weekly.begin" }}
{{- if not $begin }}
{{- errorf "missing value for 'event.weekly.begin': %s" .Position }}
{{- end }}
{{- $finish := $.Page.Param "event.weekly.finish" }}
{{- $interval := $.Page.Param "event.weekly.interval" }}
{{- $annotation := $.Page.Param "event.weekly.annotation" }}
{{- $link := $.Page.Param "event.weekly.link" }}
<p>
  {{ $intro }}
</p>
<dl>
  <dt>Termin</dt>
  <dd>
    Jeden
    {{- with $interval }}
      {{ . }} {{ $weekday }} im Monat
    {{- else }}
      {{ $weekday }}
    {{- end }}
  </dd>
  {{- with $annotation }}
  <dd>
    <small>({{ . }})</small>
  </dd>
  {{- end }}
  <dt>von</dt>
  <dd>
    {{ $begin }} Uhr
  </dd>
  <dt>bis</dt>
  <dd>
    {{- with $finish }}
      {{ . }} Uhr
    {{- else }}
      open end
    {{- end }}
  </dd>
</dl>
<p>
{{- with $link }}
  <a href="$link">Website</a>
{{- end }}
</p>
