Difference between revisions of "Template:Event"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
m (Larger font for upcoming events consistent with other copy on the (future) main page)
Line 4: Line 4:
 
</noinclude>{{#iferror:{{#switch:{{{mode}}}
 
</noinclude>{{#iferror:{{#switch:{{{mode}}}
 
|summary={{#ifexpr:{{is upcoming|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|
 
|summary={{#ifexpr:{{is upcoming|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|
<p><small>''{{{month}}} {{{day}}}''</small><br />
+
<p style="font-size:110%"><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 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}}|&nbsp;
 
|#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}}|&nbsp;

Revision as of 22:10, 22 May 2013