On this page
article
Kalender- Freigabe Template Notizen
Darstellung weiterer Information einer Kalender Freigabe aus einem Event im Notizfeld des Templates.
Darstellung weiterer Information einer Kalender Freigabe aus einem Event im Notizfeld des Templates.
Der Code des Notizfels wird in der Templating Language Handlebars verfasst. Auf Basis dieser Vorlage und den Event Input-Daten wird die Ausgabe generiert. Daten werden mittels Platzhalter (= „Handlebars Expressions“) übergeben, die in „{{ }}“ eingeschlossen sind.
Im Notiz Template sind alle Helper der Exporte verfügbar.
Datum und Uhrzeit Fomatierung
Diese weicht von der Formatierung in den Exporten ab.
- {{formatDate this.start “p”}} liefert 15:04
- {{formatDate this.start “P”}} liefert 02.01.2006
Für komplexere Formatierungen kannst du folgende Dokumentation nutzen:
https://carbon.go-pkg.com/appendix/format-signs.html
Code Snippets
Custom Titel
Titel mit Datum
{{this.displayNames.title}} {{formatDate this.start "P"}}
=> Ausgabe
Casper (Alles war schön und nichts tat weh) 23.06.2026
Ablauf
Kompletter Ablauf
{{#each this.schedule}}
- {{ formatDate this.date "p" }}: {{ this.name }}
{{/each}}
Bestimmter Ablauf
{{ scheduleValueByName this.schedule "Einlass" }}
=> Ausgabe
20.09.2026 22:00
{{ scheduleValueByName this.schedule "Einlass" false }}
=> Ausgabe
22:00
Kontakte
Alle Kontakte
{{#each this.contacts}}
{{this.role}}:
{{this.displayName}}
E-Mail: {{this.email}}
Telefon: {{this.phone}}
{{/each}}
=> Ausgabe
Ansprechpartner:in:
Mustermann, Evi
E-Mail: eva-mustermann@web.de
Telefon: +49 171 12341234
Bestimmter Kontakt nach Rolle
{{#if (contactByRole this.contacts "Hotel")}}
{{#with (contactByRole this.contacts "Hotel") as | vertragspartner |}}
{{ displayName }}
{{addresses.Geschäftlich.street}}
{{addresses.Geschäftlich.zip}} {{addresses.Geschäftlich.city}}
{{/with}}
{{/if}}
=> Ausgabe
Grand Hotel Ulm
Großer Platz 15
89077 Ulm
Künstler
{{#if this.artists}}
{{#each this.artists}}
{{this.name}}, {{this.show.name}}
{{/each}}
{{/if}}
=> Ausgabe
Antilopen Gang, Abbruch Abbruch