Vorlage:Event item: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
(Layout)
Zeile 45: Zeile 45:
 
<td><i>Wann?</i></td>
 
<td><i>Wann?</i></td>
 
<td>
 
<td>
{{#if: {{{end|}}}<!--  
+
{{#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|}}}}}
 +
}}{{#if: {{{end|}}}<!--  
 
start & end
 
start & end
-->|''Beginn:''&nbsp;{{
+
-->| ''bis:''&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|}}}|:}}<!--  
 
   #if: {{#pos:{{{end|}}}|:}}<!--  
 
   has time
 
   has time
Zeile 59: Zeile 58:
 
   has no time, just date
 
   has no time, just date
 
   -->|{{#time: l d. F Y |{{{end|}}}}}
 
   -->|{{#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|}}}}}
 
 
   }}
 
   }}
 
}}
 
}}

Version vom 26. Mai 2018, 20:57 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.