Vorlage:Event item: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Layout) |
|||
| (52 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<noinclude> | <noinclude> | ||
| − | Dies ist die Vorlage | + | Dies ist die Vorlage „Event item“. |
Sie hat folgende Vorlagenparameter ('''Pflichtparameter in fett''' und optionale normal): | Sie hat folgende Vorlagenparameter ('''Pflichtparameter in fett''' und optionale normal): | ||
| − | <nowiki>{{</nowiki>Event | + | <nowiki>{{</nowiki>Event item |
<b>|title=</b> | <b>|title=</b> | ||
<b>|start=</b> | <b>|start=</b> | ||
| Zeile 12: | Zeile 12: | ||
|coordinates= | |coordinates= | ||
|location= | |location= | ||
| + | |keywords= | ||
|recurring type= | |recurring type= | ||
|recurring unit= | |recurring unit= | ||
|recurring period= | |recurring period= | ||
| + | |recurring week number= | ||
| + | |recurring start= | ||
| + | |recurring end= | ||
| + | |recurring limit= | ||
|recurring include datetimes= | |recurring include datetimes= | ||
|recurring exclude datetimes= | |recurring exclude datetimes= | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
| − | == Abhängigkeiten == | + | == Technische Abhängigkeiten == |
| − | * [[mediawikiwiki:extension:SemanticMediaWiki|extension:SemanticMediaWiki]] | + | Erweiterungen |
| − | * [[{{ns:property}}:Has event]] | + | * [[mediawikiwiki:extension:SemanticMediaWiki|extension:SemanticMediaWiki]] |
| − | * [[{{ns:property}}:Has event description]] | + | * [[mediawikiwiki:extension:SemanticResultFormats|extension:SemanticResultFormats]] |
| − | * [[{{ns:property}}:Has event type]] | + | * [[mediawikiwiki:extension:Maps|extension:Maps]] |
| − | * [[{{ns:property}}:Has event location]] | + | * [[mediawikiwiki:extension:Page Forms|extension:Page Forms]] |
| − | * [[{{ns:property}}:Has event geocoordinates]] | + | * [[mediawikiwiki:extension:Variables|extension:Variables]] |
| − | * [[{{ns:property}}:Has event start]] | + | * [[mediawikiwiki:extension:Arrays|extension:Arrays]] |
| − | * [[{{ns:property}}:Has event end]] | + | |
| − | * [[{{ns:property}}:Has event icon]] | + | Attribute |
| − | * [[{{ns:property}}:Has event color]] | + | * [[{{ns:property}}: Has date]] |
| + | * [[{{ns:property}}: Has group]] | ||
| + | * [[{{ns:property}}: Has monolingual keyword]] | ||
| + | * [[{{ns:property}}: Has keyword]] | ||
| + | * [[{{ns:property}}: Has monolingual keyword list]] | ||
| + | * [[{{ns:property}}: Has keyword list]] | ||
| + | * [[{{ns:property}}: Has event]] | ||
| + | * [[{{ns:property}}: Has event description]] | ||
| + | * [[{{ns:property}}: Has event type]] | ||
| + | * [[{{ns:property}}: Has event location]] | ||
| + | * [[{{ns:property}}: Has event geocoordinates]] | ||
| + | * [[{{ns:property}}: Has event start]] | ||
| + | * [[{{ns:property}}: Has event end]] | ||
| + | * [[{{ns:property}}: Has event icon]] | ||
| + | * [[{{ns:property}}: Has event color]] | ||
| + | |||
| + | Vorlagen/Formulare: | ||
| + | * [[{{ns:template}}: Event item/color by type]] | ||
| + | * [[{{ns:template}}: Logo]] | ||
| + | * [[{{ns:template}}: Stichwörter]] | ||
| + | * [[{{ns:template}}: BrowseByAskQueryPreviousNext]] | ||
| + | * [[{{ns:form}}: Event item]] | ||
| + | |||
| + | Dateien: | ||
| + | * [[:File: Edit pencil (Griffin-Mono-v3.5, apps, text-editor, fg-76B82A).svg]] [[File: Edit pencil (Griffin-Mono-v3.5, apps, text-editor, fg-76B82A).svg|x16px]] | ||
| + | Layout: | ||
| + | * CSS-Klassen booktable, vertical-align-top | ||
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen. | Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen. | ||
[[Kategorie: Kalendereigenschaften]] | [[Kategorie: Kalendereigenschaften]] | ||
| − | </noinclude><includeonly> | + | </noinclude><includeonly><!-- |
| − | <table class="booktable"> | + | -->{{#vardefine: recurringUnitStandardized|{{#switch: {{LC:{{{recurring unit|}}}}} |
| + | |day|days|tag|tage=day | ||
| + | |week|weeks|woche|wochen=week | ||
| + | |year|years|jahr|jahre=year | ||
| + | |month|months|monat|monate=month | ||
| + | |#default=day | ||
| + | }} | ||
| + | }}<!-- | ||
| + | |||
| + | get a handy display of the next recurring event | ||
| + | check recurring events if the actual next date is comming or has passed already | ||
| + | -->{{#vardefine: askRecurringCommingEventStart_DateTimeUnixSeconds|{{#switch: {{LC:{{{recurring type|}}}}} | ||
| + | |1|recurring|wiederkehrend={{#time: U|{{#ask: [[Has group::wiederkehrendes Ereignis@de]] [[Has event::{{{title}}}]] [[Has date::≥{{#time:d.m.Y H:i}}]] | ||
| + | |sort=Has date |?Has date#ISO= | ||
| + | |mainlabel=- |intro= |default=|searchlabel= |limit=1 | ||
| + | }}}} | ||
| + | }} | ||
| + | }}<!-- | ||
| + | -->{{#vardefine: askRecurringNextEventStart_DateTimeUnixSeconds|{{#switch: {{LC:{{{recurring type|}}}}} | ||
| + | |1|recurring|wiederkehrend={{#time: U|<!-- | ||
| + | -->{{#ask: [[Has group::wiederkehrendes Ereignis@de]] [[Has event::{{{title}}}]] [[Has date::≥{{#time:d.m.Y H:i}}]]<!-- | ||
| + | |?Has date#-F[U]= liefert 2 Stunden verschoben, daher Trick ISO -> Unix | ||
| + | -->|sort=Has date |?Has date#ISO= | ||
| + | |mainlabel=- |intro= |default=|searchlabel= |limit=1 | ||
| + | }}<!-- | ||
| + | -->}} | ||
| + | }} | ||
| + | }}<!-- | ||
| + | work around week input: “1,3” if present | ||
| + | -->{{#if: {{#pos: {{{recurring week number|}}}|,}}| {{#arraydefine: week-number-array|{{{recurring week number|}}}|,}} }}<!-- | ||
| + | |||
| + | -->{{#vardefine: timeDiffEventEndMinusEventStart_UnixSeconds|{{#if: {{{end|}}}<!-- | ||
| + | then-->| {{#expr: {{#time: xNU | {{{end|}}} }} - {{#time: xNU | {{{start|}}} }} + 0 }}<!-- | ||
| + | else-->| 0<!-- | ||
| + | -->}}<!-- | ||
| + | -->}}<!-- | ||
| + | {{#time: xNU |2018/06/06 22:30}} - {{#time: xNU |2018/06/06 20:30}} | ||
| + | using unix time seconds | ||
| + | |||
| + | -->{{#switch: {{NAMENSRAUM}}<!-- | ||
| + | -->|Calendar|Kalender=<!-- nichts im Haupt Namensraum --><indicator name="calendar-data-page" style="cursor:help;">{{Logo|Kalender|35px|Kurzinfo=Kalendereintrag und -datenseite für „{{SEITENNAME}}“}}</indicator> | ||
| + | <div class="noprint floatright" style="text-align:center;">{{BrowseByAskQueryPreviousNext | [[Kalender:+]]}}<br>↗ [[Open Source Ecology Germany/Kalender|Kalender]]</div> | ||
| + | }} | ||
| + | <table class="booktable vertical-align-top"> | ||
<tr><th colspan="2"><!-- | <tr><th colspan="2"><!-- | ||
| − | -->{{#if:{{{icon|}}}|[[{{{icon|}}}|x20px|left|{{{title|}}}]] | + | -->{{#if:{{{icon|}}}|[[File:{{#explode:{{{icon|}}}|:|-1}}|x20px|left|{{{title|}}}|link=]]}}<!-- |
| − | |||
-->{{{title|}}}<!-- | -->{{{title|}}}<!-- | ||
| − | --></th></tr> | + | -->{{#if:{{{type|}}}|<nowiki></nowiki> ({{{type|}}})}}<!-- |
| + | --> <span class="noprint">{{#formlink: | ||
| + | form=Event item<!-- | ||
| + | -->|link text=[[File:Edit pencil (Griffin-Mono-v3.5, apps, text-editor, fg-76B82A).svg|x16px|link=]]<!-- | ||
| + | -->|target={{FULLPAGENAME}}<!-- | ||
| + | -->|tooltip=Diesen Kalendereintrag bearbeiten<!-- | ||
| + | -->}}</span></th></tr> | ||
<tr> | <tr> | ||
<td><i>Wann?</i></td> | <td><i>Wann?</i></td> | ||
| − | <td> | + | <td>{{#switch: {{LC:{{{recurring type|}}}}} |
| − | {{#if: {{#pos:{{{start|}}}|:}}<!-- | + | |1|recurring|wiederkehrend=<div>''Hinweis:'' der Termin wiederholt sich {{#switch: {{#var: recurringUnitStandardized}} |
| − | has time | + | |day={{PLURAL:{{{recurring period|1}}}|jeden Tag|alle {{{recurring period|1}}} Tage}} |
| − | -->|{{#time: l d. F Y H:i |{{{start|}}}}}Uhr<!-- | + | |week={{PLURAL:{{{recurring period|1}}}|jede Woche|alle {{{recurring period|1}}} Wochen}} |
| − | + | |month={{ | |
| − | -->|{{#time: l d. F Y |{{{start|}}}}} | + | #ifexpr: <!-- check weeknumbers, work around week input: “1,3” if present |
| − | }}{{#if: {{{end|}}}<!-- | + | -->{{#if: {{#pos: {{{recurring week number|}}}|,}}<!-- |
| − | start & end | + | then |
| − | -->| ''bis:'' {{ | + | -->|{{#arrayprint: week-number-array ||@ | abs @ +}}<!-- cumulate week numbers |
| − | + | else | |
| − | + | -->|{{{recurring week number|}}} }} | |
| − | -->|{{#time: l d. F Y H:i |{{{end|}}}}}Uhr<!-- | + | + 0 > 0<!-- |
| − | + | then positive week number within week | |
| − | + | -->|an jedem <!-- 1. oder 1. und 3. etc. | |
| − | }} | + | -->{{#if: {{#pos: {{{recurring week number|}}}|,}}<!-- |
| − | }} | + | then |
| + | -->|{{ | ||
| + | #arrayprint: week-number-array | ||
| + | | | ||
| + | |@ | ||
| + | |{{#switch: @|-1=letzten|-2=vor–letzten|-3=vor-vor–letzten|#default=@.}} | ||
| + | |print=pretty | ||
| + | }}<!-- | ||
| + | -->|{{{recurring week number|}}}. | ||
| + | }} <!-- | ||
| + | Wochentag | ||
| + | -->{{#time: l|{{{start|}}}}} im Monat<!-- | ||
| + | else 0==0 or < 0 | ||
| + | -->|{{ | ||
| + | #ifexpr: {{{recurring week number|}}} + 0 < 0<!-- TODO week input: “1,-1” | ||
| + | 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}} | ||
| + | }} | ||
| + | }}<!-- if: recurring week number --> | ||
| + | |year={{PLURAL:{{{recurring period|1}}}|jedes Jahr|alle {{{recurring period|1}}} Jahre}} | ||
| + | |#default= | ||
| + | }}</div> | ||
| + | }}<!--#switch wiederkehrend --><!-- | ||
| + | |||
| + | add date and time (if given) | ||
| + | no line break here | ||
| + | -->{{#if: {{#pos:{{{start|}}}|:}}<!-- | ||
| + | THEN: has a time string | ||
| + | -->|<!-- | ||
| + | -->{{#switch: {{LC:{{{recurring type|}}}}} | ||
| + | |1|recurring|wiederkehrend={{#if: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} | ||
| + | | ''Nächster:'' <!-- {{{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|}}}}} | ||
| + | |1|recurring|wiederkehrend={{#if: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} | ||
| + | | @{{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} | ||
| + | | @{{#var: askRecurringNextEventStart_DateTimeUnixSeconds}} | ||
| + | }} | ||
| + | |#default={{{start|}}}<!-- | ||
| + | -->}}<!-- #switch | ||
| + | -->}} Uhr<!-- #time | ||
| + | |||
| + | ELSE: has no time, just date | ||
| + | -->|<!-- | ||
| + | -->{{#time: l d. F Y |<!-- | ||
| + | -->{{#switch: {{LC:{{{recurring type|}}}}} | ||
| + | |1|recurring|wiederkehrend={{#if: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} | ||
| + | | @{{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} | ||
| + | | @{{#var: askRecurringNextEventStart_DateTimeUnixSeconds}} | ||
| + | }} | ||
| + | |#default={{{start|}}}<!-- | ||
| + | -->}} | ||
| + | }}<!-- #time | ||
| + | -->}}<!-- no line break here | ||
| + | |||
| + | END time | ||
| + | -->{{#if: {{{end|}}}<!-- | ||
| + | start & end | ||
| + | THEN | ||
| + | -->| ''bis:'' {{ | ||
| + | #ifeq: <!-- at the same day? | ||
| + | -->{{#explode:{{#time: Y/m/d H:i |{{{start|}}}}}| }} | {{#explode:{{#time: Y/m/d H:i |{{{end|}}}}}| }}<!-- | ||
| + | Then | ||
| + | -->|{{#if: {{#pos:{{{end|}}}|:}}<!-- | ||
| + | then has date | ||
| + | -->|{{#time: H:i |{{{end|}}}}} Uhr<!-- | ||
| + | else has no time, just date | ||
| + | -->| Ende am selben Tag | ||
| + | }}<!-- | ||
| + | Else end at a different day | ||
| + | -->|{{ | ||
| + | #if: {{#pos:{{{end|}}}|:}}<!-- | ||
| + | then: has a time string | ||
| + | -->|{{#time: l d. F Y H:i |<!-- | ||
| + | -->{{#switch: {{LC:{{{recurring type|}}}}} | ||
| + | |1|recurring|wiederkehrend={{#if: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} | ||
| + | |{{#expr: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} + {{#var: timeDiffEventEndMinusEventStart_UnixSeconds}} + 0 }} | ||
| + | |{{#expr: {{#var: askRecurringNextEventStart_DateTimeUnixSeconds}} + {{#var: timeDiffEventEndMinusEventStart_UnixSeconds}} + 0 }} | ||
| + | }} | ||
| + | |#default={{{end|}}}<!-- | ||
| + | -->}}<!-- | ||
| + | -->}}<!-- #time | ||
| + | --> Uhr<!-- | ||
| + | else has no time string, just date | ||
| + | -->|{{#time: l d. F Y |<!-- | ||
| + | -->{{#switch: {{LC:{{{recurring type|}}}}} | ||
| + | |1|recurring|wiederkehrend={{#if: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} | ||
| + | |{{#expr: {{#var: askRecurringCommingEventStart_DateTimeUnixSeconds}} + {{#var: timeDiffEventEndMinusEventStart_UnixSeconds}} + 0 }} | ||
| + | |{{#expr: {{#var: askRecurringNextEventStart_DateTimeUnixSeconds}} + {{#var: timeDiffEventEndMinusEventStart_UnixSeconds}} + 0 }} | ||
| + | }} | ||
| + | |#default={{{end|}}}<!-- | ||
| + | -->}}<!-- | ||
| + | -->}}<!-- #time | ||
| + | -->}}<!-- if: date or datetime | ||
| + | -->}}<!-- ifeq: same day end | ||
| + | -->}}<!-- if: {{{end}}} --> | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Zeile 67: | Zeile 247: | ||
<td>{{{description|}}}</td> | <td>{{{description|}}}</td> | ||
</tr> | </tr> | ||
| − | }} | + | }}{{ |
| − | {{#if: {{{location|}}} | + | #if: {{{location|}}} |
|<tr> | |<tr> | ||
<td><i>Wo?</i></td> | <td><i>Wo?</i></td> | ||
<td>{{{location|}}}</td> | <td>{{{location|}}}</td> | ||
</tr> | </tr> | ||
| − | }} | + | }}{{ |
| − | {{#if: {{{coordinates|}}} | + | #if: {{{coordinates|}}} |
|<tr> | |<tr> | ||
<td><i>Karte</i></td> | <td><i>Karte</i></td> | ||
| − | <td>{{#display_map: {{{coordinates|}}} | + | <td>{{#display_map: {{{coordinates|}}}|label={{{title|}}}|title={{{description|}}}}}</td> |
| + | </tr> | ||
| + | }}{{ | ||
| + | #if: {{{keywords|}}} | ||
| + | |<tr> | ||
| + | <td colspan="2"><i>Stichwörter:</i> {{Stichwörter|1={{{keywords|}}}}}<!-- | ||
| + | Comment: Has keyword is used by template:Event item | ||
| + | -->{{#arraymap: {{{keywords|}}}|,|§|[[Has monolingual keyword::§@de| ]][[Has keyword::§| ]] |}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Zeile 86: | Zeile 273: | ||
-->{{#subobject: | -->{{#subobject: | ||
|Has event={{{title|}}} | |Has event={{{title|}}} | ||
| + | |Has group={{#switch: {{LC:{{{recurring type|}}}}} | ||
| + | |1|recurring|wiederkehrend=wiederkehrendes Ereignis@de | ||
| + | |#default=einmaliges Ereignis@de}} | ||
|Has event start={{{start|}}} | |Has event start={{{start|}}} | ||
|Has event end={{{end|}}} | |Has event end={{{end|}}} | ||
| Zeile 91: | Zeile 281: | ||
|Has event location={{{location|}}} | |Has event location={{{location|}}} | ||
|Has event icon={{#if: {{{icon|}}} | |Has event icon={{#if: {{{icon|}}} | ||
| − | |{{{icon|}}} | + | |File:{{#explode:{{{icon|}}}|:|-1}} |
|<!-- {{#switch: {{{type|}}} | |<!-- {{#switch: {{{type|}}} | ||
|Besprechung =File:Event-meeting-icon.png | |Besprechung =File:Event-meeting-icon.png | ||
| − | | | + | |Präsentation=File:Event-presentation-icon.png |
|Talk=File:Event-talk-icon.png }} --> | |Talk=File:Event-talk-icon.png }} --> | ||
}} | }} | ||
| − | |Has event color={{ | + | |Has event color={{Event item/color by type|{{{type|}}}}} |
| − | |||
| − | |||
|Has event description={{{description|}}} | |Has event description={{{description|}}} | ||
|Has event geocoordinates={{{coordinates|}}} | |Has event geocoordinates={{{coordinates|}}} | ||
| + | |Has monolingual keyword list={{#if: {{{keywords|}}}|{{{keywords|}}}@de}} | ||
| + | |Has keyword list={{{keywords|}}} | ||
| + | |Has date={{{start|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#switch: {{LC:{{{recurring type|}}}}} | -->{{#switch: {{LC:{{{recurring type|}}}}} | ||
| − | |1|recurring|wiederkehrend={{#set_recurring_event: {{{title|}}} | + | |1|recurring|wiederkehrend={{#if: {{#pos: {{{recurring week number}}}|,}}<!-- |
| − | |property=Has date | + | THEN-->|{{#arraymap: {{{recurring week number}}}<!-- |
| − | |start={{{start|}}} | + | -->|,<!-- sep , |
| − | |end={{{end|}}} | + | -->|ω<!-- assign ω as temporary var |
| − | | | + | -->|{{#set_recurring_event: Wiederkehrend: {{#replace:{{{title|}}}|+|+}}<!-- Kommentar: + zu full width plus ersetzen + |
| − | + | -->|property=Has date | |
| − | + | |Has event={{{title|}}} | |
| − | + | |Has group=wiederkehrendes Ereignis@de | |
| − | + | |Has event type={{{type|}}} | |
| − | + | |Has event start={{{start|}}} | |
| − | + | |Has event end={{{end|}}} | |
| + | |Has event location={{{location|}}} | ||
| + | |Has event icon={{#if: {{{icon|}}} | ||
| + | |File:{{#explode:{{{icon|}}}|:|-1}} | ||
| + | |<!-- {{#switch: {{{type|}}} | ||
| + | |Besprechung =File:Event-meeting-icon.png | ||
| + | |Präsentation=File:Event-presentation-icon.png | ||
| + | |Talk=File:Event-talk-icon.png }} --> | ||
| + | }} | ||
| + | |Has event color={{Event item/color by type|{{{type|}}}}} | ||
| + | |Has event description={{{description|}}} | ||
| + | |Has event geocoordinates={{{coordinates|}}} | ||
| + | |Has monolingual keyword list={{#if: {{{keywords|}}}|{{{keywords|}}}@de}} | ||
| + | |Has keyword list={{{keywords|}}} | ||
| + | |start={{{recurring start|}}} | ||
| + | |end={{{recurring end|}}} | ||
| + | |unit={{#var: recurringUnitStandardized}} | ||
| + | |period={{{recurring period|1}}} | ||
| + | |week number=ω<!-- single week number --> | ||
| + | |limit={{{recurring limit|}}}<!-- end: supersedes this limit --> | ||
| + | |include={{{recurring include datetimes|}}} | ||
| + | |exclude={{{recurring exclude datetimes|}}} | ||
| + | }}<!--output | ||
| + | -->|<!--arraymap output sep | ||
| + | -->}}<!-- end arraymap | ||
| + | |||
| + | ELSE-->|<!-- | ||
| + | -->{{#set_recurring_event: Wiederkehrend: {{#replace:{{{title|}}}|+|+}}<!-- Kommentar: + zu full width plus ersetzen + | ||
| + | -->|property=Has date | ||
| + | |Has event={{{title|}}} | ||
| + | |Has group=wiederkehrendes Ereignis@de | ||
| + | |Has event type={{{type|}}} | ||
| + | |Has event start={{{start|}}} | ||
| + | |Has event end={{{end|}}} | ||
| + | |Has event location={{{location|}}} | ||
| + | |Has event icon={{#if: {{{icon|}}} | ||
| + | |File:{{#explode:{{{icon|}}}|:|-1}} | ||
| + | |<!-- {{#switch: {{{type|}}} | ||
| + | |Besprechung =File:Event-meeting-icon.png | ||
| + | |Präsentation=File:Event-presentation-icon.png | ||
| + | |Talk=File:Event-talk-icon.png }} --> | ||
| + | }} | ||
| + | |Has event color={{Event item/color by type|{{{type|}}}}} | ||
| + | |Has event description={{{description|}}} | ||
| + | |Has event geocoordinates={{{coordinates|}}} | ||
| + | |Has monolingual keyword list={{#if: {{{keywords|}}}|{{{keywords|}}}@de}} | ||
| + | |Has keyword list={{{keywords|}}} | ||
| + | |start={{{recurring start|}}} | ||
| + | |end={{{recurring end|}}} | ||
| + | |unit={{#var: recurringUnitStandardized}} | ||
|period={{{recurring period|1}}} | |period={{{recurring period|1}}} | ||
| + | |week number={{{recurring week number|}}} | ||
| + | |limit={{{recurring limit|}}}<!-- end: supersedes this limit --> | ||
|include={{{recurring include datetimes|}}} | |include={{{recurring include datetimes|}}} | ||
|exclude={{{recurring exclude datetimes|}}} | |exclude={{{recurring exclude datetimes|}}} | ||
}} | }} | ||
| + | }}<!-- if pos , recurring week number | ||
| + | |||
| + | --><!-- | ||
| + | <div class="debug" style="display:none"> | ||
| + | wiederkehrend-{{{title|}}} | ||
| + | * property=Has date | ||
| + | * Has event={{{title|}}} | ||
| + | * Has event type={{{type|}}} | ||
| + | * Has event location={{{location|}}} | ||
| + | * Has event icon={{{icon|}}} | ||
| + | * Has event color={{#switch: {{LC:{{{type|}}}}} |besprechung=#4D4D4D |workshop|arbeitsgemeinschaft/workshop=#C57523 |seminar|konferenz|conference=#0E88C7 |#default=#76b82a}} | ||
| + | * Has event description={{{description|}}} | ||
| + | * Has event geocoordinates={{{coordinates|}}} | ||
| + | * start={{{start|}}} | ||
| + | * end={{{end|}}} | ||
| + | * unit={{#switch: {{LC:{{{recurring unit|}}}}} |day|tag=day |week|woche=week |year|jahr=year |month|monat=month |#default=day}} | ||
| + | * period={{{recurring period|1}}} | ||
| + | * include={{{recurring include datetimes|}}} | ||
| + | * exclude={{{recurring exclude datetimes|}}} | ||
| + | </div> | ||
| + | --> | ||
|#default= | |#default= | ||
| − | }} | + | }}</includeonly> |
| − | </includeonly> | ||
Neueste Überarbeitung vom 20. März 2021, 20:56 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
- extension:Arrays
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.