Vorlage:Event: Unterschied zwischen den Versionen
Basti (Diskussion | Beiträge) K |
Basti (Diskussion | Beiträge) K |
||
Zeile 23: | Zeile 23: | ||
<!-- zusaetzliche versteckte Attribute --> | <!-- zusaetzliche versteckte Attribute --> | ||
{{#replace:{{#explode: {{{startdate}}} | | 0 }}|/|}} | {{#replace:{{#explode: {{{startdate}}} | | 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 }}| ]] | [[IsFutureDate::{{#ifexpr: {{#replace:{{#explode: {{{startdate}}} | | 0 }}|/|}} > {{LOCALYEAR}}{{LOCALMONTH}}{{LOCALDAY}} | 1 | 0 }}| ]] | ||
[[Kategorie:Event]] | [[Kategorie:Event]] | ||
</includeonly> | </includeonly> |
Version vom 3. Februar 2015, 00:12 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 }}