Vorlage:Event item: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(+keywords) |
|||
Zeile 12: | Zeile 12: | ||
|coordinates= | |coordinates= | ||
|location= | |location= | ||
+ | |keywords= | ||
|recurring type= | |recurring type= | ||
|recurring unit= | |recurring unit= | ||
Zeile 35: | Zeile 36: | ||
* [[{{ns:property}}:Has date]] | * [[{{ns:property}}:Has date]] | ||
* [[{{ns:property}}:Has group]] | * [[{{ns:property}}:Has group]] | ||
+ | * [[{{ns:property}}:Has keyword]] | ||
+ | * [[{{ns:property}}:Has keyword list]] | ||
* [[{{ns:property}}:Has event]] | * [[{{ns:property}}:Has event]] | ||
* [[{{ns:property}}:Has event description]] | * [[{{ns:property}}:Has event description]] | ||
Zeile 134: | Zeile 137: | ||
<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|}}}~{{{title|}}}~{{{description|}}}}}</td> | <td>{{#display_map: {{{coordinates|}}}~{{{title|}}}~{{{description|}}}}}</td> | ||
+ | </tr> | ||
+ | }}{{ | ||
+ | #if: {{{keywords|}}} | ||
+ | |<tr> | ||
+ | <td colspan="2"><i>Stichwörter:</i> {{#arraymap: {{{keywords|}}}|,|§|[[Has keyword::§@de]] |, }}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Zeile 170: | Zeile 178: | ||
|Has event description={{{description|}}} | |Has event description={{{description|}}} | ||
|Has event geocoordinates={{{coordinates|}}} | |Has event geocoordinates={{{coordinates|}}} | ||
+ | |Has keyword list={{#if: {{{keywords|}}}|{{{keywords|}}}@de}} | ||
|Has date={{{start|}}} | |Has date={{{start|}}} | ||
}}<!-- | }}<!-- | ||
Zeile 186: | Zeile 195: | ||
|Has event description={{{description|}}} | |Has event description={{{description|}}} | ||
|Has event geocoordinates={{{coordinates|}}} | |Has event geocoordinates={{{coordinates|}}} | ||
+ | |Has keyword list={{#if: {{{keywords|}}}|{{{keywords|}}}@de}} | ||
|start={{{recurring start|}}} | |start={{{recurring start|}}} | ||
|end={{{recurring end|}}} | |end={{{recurring end|}}} |
Version vom 30. Mai 2018, 22:45 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= }}
Abhängigkeiten
Erweiterungen
- extension:SemanticMediaWiki
- extension:SemanticResultFormats
- extension:Maps
- extension:Page Forms
- extension:Variables
Attribute
- Attribut:Has date
- Attribut:Has group
- Attribut:Has keyword
- 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:
Layout:
- CSS-Klassen booktable, vertical-align-top
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.