Difference between revisions of "Template:Event"
Jump to navigation
Jump to search
(Working) |
(Working) |
||
Line 6: | Line 6: | ||
<p><small>''{{{month}}} {{{day}}}''</small><br /> |
<p><small>''{{{month}}} {{{day}}}''</small><br /> |
||
[[Upcoming events#{{{month}}} {{{day}}}|'''{{{title}}}''']]</p>}} |
[[Upcoming events#{{{month}}} {{{day}}}|'''{{{title}}}''']]</p>}} |
||
− | |#default={{#ifexpr:({{#switch:{{{mode}}}|upcoming=1|#default=0}} and {{is |
+ | |#default={{#ifexpr:({{#switch:{{{mode}}}|upcoming=1|#default=0}} and {{is future|month={{{month}}}|day={{{day}}}|year={{{year|}}} }}) or ({{#switch:{{{mode}}}|recent=1|#default=0}} and {{is recent|month={{{month}}}|day={{{day}}}|year={{{year|}}} }}) or {{#switch:{{{mode}}}|recent|upcoming=0|#default=1}}| |
{{!}}- |
{{!}}- |
||
{{!}} style="vertical-align:top; background:#F4F4F4; padding-left:20px; padding-right:20px; border-top: 1px solid #BBBDBF; border-right: 1px dotted #BBBDBF;" {{!}} <h3 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{{month}}} {{{day}}}</h3>{{anchor|{{{month}}} {{{day}}}}} |
{{!}} style="vertical-align:top; background:#F4F4F4; padding-left:20px; padding-right:20px; border-top: 1px solid #BBBDBF; border-right: 1px dotted #BBBDBF;" {{!}} <h3 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{{month}}} {{{day}}}</h3>{{anchor|{{{month}}} {{{day}}}}} |