Difference between revisions of "Template:Event"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(Working)
Line 12: Line 12:
 
{{!}} rowspan="3" style="border-top: 1px solid #BBBDBF; vertical-align:top; padding:10px;" {{!}} {{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link|}}}|<div style="padding-bottom:5px;">{{button|link={{{rsvp-link}}}|label=Sign up now &raquo;|primary=yes|width=100px}}</div>}}}}{{#if:{{{info-link|}}}|{{button|link={{{info-link}}}|label=Learn more &raquo;|width=100px}}}}
 
{{!}} rowspan="3" style="border-top: 1px solid #BBBDBF; vertical-align:top; padding:10px;" {{!}} {{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link|}}}|<div style="padding-bottom:5px;">{{button|link={{{rsvp-link}}}|label=Sign up now &raquo;|primary=yes|width=100px}}</div>}}}}{{#if:{{{info-link|}}}|{{button|link={{{info-link}}}|label=Learn more &raquo;|width=100px}}}}
 
{{!}}-
 
{{!}}-
{{!}} rowspan="3" style="border-right: 1px dotted #BBBDBF;" {{!}}
+
{{!}} rowspan="{{#if:{{{restriction|}}}|4|3}}" style="border-right: 1px dotted #BBBDBF;" {{!}}
 
{{!}} style="padding:5px; padding-left:10px; vertical-align:top;" {{!}} '''WHEN'''
 
{{!}} style="padding:5px; padding-left:10px; vertical-align:top;" {{!}} '''WHEN'''
 
{{!}} style="width:100%; padding:5px; padding-left:10px;" {{!}} ''{{{dow}}}, {{{month}}} {{{day}}}, {{{year}}}''<br />''{{{time}}}''
 
{{!}} style="width:100%; padding:5px; padding-left:10px;" {{!}} ''{{{dow}}}, {{{month}}} {{{day}}}, {{{year}}}''<br />''{{{time}}}''

Revision as of 10:52, 16 May 2013