Vorlage:Event item: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Fix Unix time -> #time) |
(+Nächster Termin at recurring) |
||
Zeile 142: | Zeile 142: | ||
-->{{#if: {{#pos:{{{start|}}}|:}}<!-- | -->{{#if: {{#pos:{{{start|}}}|:}}<!-- | ||
THEN: has a time string | THEN: has a time string | ||
− | -->|{{#time: l d. F Y H:i |<!-- | + | -->|<!-- |
+ | -->{{#switch: {{LC:{{{recurring type|}}}}} | ||
+ | |1|recurring|wiederkehrend={{#if: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} | ||
+ | | | ||
+ | | ''Nächster Termin:'' <!-- {{{start}}} date(time) has past already, is a recurring date(time) future event --> | ||
+ | }} | ||
+ | |#default={{{start|}}}<!-- | ||
+ | -->}}<!-- #switch | ||
+ | -->{{#time: l d. F Y H:i |<!-- | ||
-->{{#switch: {{LC:{{{recurring type|}}}}} | -->{{#switch: {{LC:{{{recurring type|}}}}} | ||
|1|recurring|wiederkehrend={{#if: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} | |1|recurring|wiederkehrend={{#if: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} |
Version vom 13. November 2018, 12:00 Uhr
Dies ist die Vorlage „Event item“. Sie hat folgende Vorlagenparameter (Pflichtparameter in fett und optionale normal):
{{Event item |title= |start= |end= |type= |description= |color= |icon= |coordinates= |location= |keywords= |recurring type= |recurring unit= |recurring period= |recurring week number= |recurring start= |recurring end= |recurring limit= |recurring include datetimes= |recurring exclude datetimes= }}
Technische Abhängigkeiten
Erweiterungen
- extension:SemanticMediaWiki
- extension:SemanticResultFormats
- extension:Maps
- extension:Page Forms
- extension:Variables
Attribute
- Attribut: Has date
- Attribut: Has group
- Attribut: Has monolingual keyword
- Attribut: Has keyword
- Attribut: Has monolingual keyword list
- Attribut: Has keyword list
- Attribut: Has event
- Attribut: Has event description
- Attribut: Has event type
- Attribut: Has event location
- Attribut: Has event geocoordinates
- Attribut: Has event start
- Attribut: Has event end
- Attribut: Has event icon
- Attribut: Has event color
Vorlagen/Formulare:
- Vorlage: Event item/color by type
- Vorlage: Logo
- Vorlage: Stichwörter
- Vorlage: BrowseByAskQueryPreviousNext
- Formular: Event item
Dateien:
Layout:
- CSS-Klassen booktable, vertical-align-top
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.