Vorlage:Event: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
K
K
Zeile 22: Zeile 22:
 
|}
 
|}
 
<!-- zusaetzliche versteckte Attribute -->
 
<!-- zusaetzliche versteckte Attribute -->
{{#replace:{{#explode: {{{startdate}}} | | 0 }}|/|}}
+
[[IsFutureDate::{{#ifexpr: {{#replace:{{#explode: {{{startdate}}} | | 0 }}|/|}} > {{LOCALYEAR}}{{LOCALMONTH}}{{LOCALDAY2}} | 1 | 0 }}| ]]
 
 
{{LOCALYEAR}}{{LOCALMONTH}}{{LOCALDAY}}
 
 
 
{{#ifexpr: {{#replace:{{#explode: {{{startdate}}} | | 0 }}|/|}} > {{LOCALYEAR}}{{LOCALMONTH}}{{LOCALDAY}} | 1 | 0 }}
 
 
 
[[IsFutureDate::{{#ifexpr: {{#replace:{{#explode: {{{startdate}}} | | 0 }}|/|}} > {{LOCALYEAR}}{{LOCALMONTH}}{{LOCALDAY}} | 1 | 0 }}| ]]
 
 
 
 
[[Kategorie:Event]]
 
[[Kategorie:Event]]
 
</includeonly>
 
</includeonly>

Version vom 3. Februar 2015, 00:14 Uhr

Dies ist die "Event"-Vorlage.

Verwendung:

{{Event
|title=Geekend #7
|startdate=1970/01/01 0:00:00
|enddate=1970/01/02 23:59:59
}}