Vorlage:Event item: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
(fix th)
Zeile 12: Zeile 12:
 
  |coordinates=
 
  |coordinates=
 
  |location=
 
  |location=
 +
|recurring type=
 +
|recurring unit=
 +
|recurring period=
 +
|recurring include datetimes=
 +
|recurring exclude datetimes=
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
Zeile 40: Zeile 45:
 
<td><i>Wann?</i></td>
 
<td><i>Wann?</i></td>
 
<td>
 
<td>
{{#if: {{{end|}}}
+
{{#if: {{{end|}}}<!--
|''Beginn:''&nbsp;{{{start|}}} ''Ende:''&nbsp;{{{end|}}}
+
start & end
|{{{start|}}}
+
-->|''Beginn:''&nbsp;{{
 +
  #if: {{#pos:{{{start|}}}|:}}<!--
 +
  has time
 +
  -->|{{#time: l d. F Y H:i |{{{start|}}}}}Uhr<!--
 +
  has no time, just date
 +
  -->|{{#time: l d. F Y |{{{start|}}}}}
 +
  }} ''Ende:''&nbsp;{{
 +
  #if: {{#pos:{{{end|}}}|:}}<!--
 +
  has time
 +
  -->|{{#time: l d. F Y H:i |{{{end|}}}}}Uhr<!--
 +
  has no time, just date
 +
  -->|{{#time: l d. F Y |{{{end|}}}}}
 +
  }}<!--
 +
start only
 +
-->|{{#if: {{#pos:{{{start|}}}|:}}<!--
 +
  has time
 +
  -->|{{#time: l d. F Y H:i |{{{start|}}}}}Uhr<!--
 +
  has no time, just date
 +
  -->|{{#time: l d. F Y |{{{start|}}}}}
 +
  }}
 
}}
 
}}
 
</td>
 
</td>
Zeile 86: Zeile 110:
 
|Has event description={{{description|}}}
 
|Has event description={{{description|}}}
 
|Has event geocoordinates={{{coordinates|}}}
 
|Has event geocoordinates={{{coordinates|}}}
 +
}}<!--
 +
 
 +
-->{{#switch: {{LC:{{{recurring type|}}}}}
 +
|1|recurring|wiederkehrend={{#set_recurring_event: {{{title|}}}
 +
  |property=Has date
 +
  |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|}}}
 +
  }}
 +
|#default=
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Version vom 26. Mai 2018, 20:52 Uhr

Dies ist die Vorlage „Event“. Sie hat folgende Vorlagenparameter (Pflichtparameter in fett und optionale normal):

{{Event
|title=
|start=
|end=
|type=
|description=
|color=
|icon=
|coordinates=
|location=
|recurring type=
|recurring unit=
|recurring period=
|recurring include datetimes=
|recurring exclude datetimes=
}}

Abhängigkeiten

Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.