Vorlage:Event: Unterschied zwischen den Versionen
Basti (Diskussion | Beiträge) K |
Basti (Diskussion | Beiträge) K (IsFutureDate >= anstatt >) |
||
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<noinclude> | <noinclude> | ||
− | Dies ist die "Event"-Vorlage. | + | Dies ist die "Event"-Vorlage. Normalerweise wird sie per [[Formular:Event|Formular]] benutzt. |
− | Verwendung | + | = Verwendung = |
<pre> | <pre> | ||
{{Event | {{Event | ||
Zeile 13: | Zeile 13: | ||
<div id="contentSub"><span class="subpages">< [[Kalender]]</span></div> | <div id="contentSub"><span class="subpages">< [[Kalender]]</span></div> | ||
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | {| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
− | ! style="text-align: center; background-color: #FFFFCC;" colspan="2" |<strong> | + | ! style="text-align: center; background-color: #FFFFCC;" colspan="2" |<strong>[[EventTitle::{{{title|}}}]]</strong> |
|- | |- | ||
| Beginn | | Beginn | ||
Zeile 22: | Zeile 22: | ||
|} | |} | ||
<!-- zusaetzliche versteckte Attribute --> | <!-- zusaetzliche versteckte Attribute --> | ||
+ | [[IsFutureDate::{{#ifexpr: {{#replace:{{#explode: {{{startdate}}} | | 0 }}|/|}} >= {{LOCALYEAR}}{{LOCALMONTH}}{{LOCALDAY2}} | 1 | 0 }}| ]] | ||
[[Kategorie:Event]] | [[Kategorie:Event]] | ||
</includeonly> | </includeonly> |
Aktuelle Version vom 1. März 2015, 00:57 Uhr
Dies ist die "Event"-Vorlage. Normalerweise wird sie per Formular benutzt.
Verwendung
{{Event |title=Geekend #7 |startdate=1970/01/01 0:00:00 |enddate=1970/01/02 23:59:59 }}