Vorlage:Event item: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(+Logo) |
(Hinweis wiederkehrend an den Anfang) |
||
Zeile 88: | Zeile 88: | ||
<tr> | <tr> | ||
<td><i>Wann?</i></td> | <td><i>Wann?</i></td> | ||
− | <td><!-- | + | <td>{{#switch: {{LC:{{{recurring type|}}}}} |
+ | |1|recurring|wiederkehrend=<div>''Hinweis:'' der Termin wiederholt sich {{#switch: {{#var: recurringUnitStandardized}} | ||
+ | |day={{PLURAL:{{{recurring period|1}}}|jeden Tag|alle {{{recurring period|1}}} Tage}} | ||
+ | |week={{PLURAL:{{{recurring period|1}}}|jede Woche|alle {{{recurring period|1}}} Wochen}} | ||
+ | |month={{ | ||
+ | #ifexpr: {{{recurring week number|}}} + 0 > 0<!-- | ||
+ | then positive week number within week | ||
+ | -->|an jedem {{{recurring week number|}}}. {{#time: l|{{{start|}}}}} im Monat<!-- | ||
+ | else 0==0 or < 0 | ||
+ | -->|{{ | ||
+ | #ifexpr: {{{recurring week number|}}} + 0 < 0<!-- | ||
+ | then negative week number within week | ||
+ | -->|an jedem {{#switch:{{{recurring week number|}}}|-1=letzten|#default={{{recurring week number|}}}.–letzten}} {{#time: l|{{{start|}}}}} im Monat<!-- | ||
+ | else equals 0 | ||
+ | -->|{{PLURAL:{{{recurring period|1}}}|jeden Monat|alle {{{recurring period|1}}} Monate}} | ||
+ | }} | ||
+ | }} | ||
+ | |year={{PLURAL:{{{recurring period|1}}}|jedes Jahr|alle {{{recurring period|1}}} Jahre}} | ||
+ | |#default= | ||
+ | }}</div> | ||
+ | }}<!--#switch wiederkehrend --><!-- | ||
no line break here | no line break here | ||
-->{{#if: {{#pos:{{{start|}}}|:}}<!-- | -->{{#if: {{#pos:{{{start|}}}|:}}<!-- | ||
Zeile 115: | Zeile 135: | ||
-->|{{#time: l d. F Y |{{{end|}}}}} | -->|{{#time: l d. F Y |{{{end|}}}}} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
Zeile 241: | Zeile 241: | ||
--> | --> | ||
|#default= | |#default= | ||
− | }} | + | }}</includeonly> |
− | </includeonly> |
Version vom 22. August 2018, 21:53 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
Layout:
- CSS-Klassen booktable, vertical-align-top
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.