Difference between revisions of "Template:Event"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(Working)
Line 11: Line 11:
 
{{!}} 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}}}&nbsp;{{{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}}}&nbsp;{{{day}}}</h3>{{anchor|{{{month}}} {{{day}}}}}
 
{{!}} colspan="2" style="border-top: 1px solid #BBBDBF; padding-left:10px;" {{!}} <h3 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{{title}}}</h3>
 
{{!}} colspan="2" style="border-top: 1px solid #BBBDBF; padding-left:10px;" {{!}} <h3 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{{title}}}</h3>
{{!}} rowspan="3" style="border-top: 1px solid #BBBDBF; vertical-align:top; padding:10px;" {{!}} {{#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="3" style="border-right: 1px dotted #BBBDBF;" {{!}}
Line 23: Line 23:
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" style="height:10px;" {{!}}
 
{{!}} colspan="2" style="height:10px;" {{!}}
 
}}}}}}<noinclude>
}}
 
}}}}<noinclude>
 
 
|}
 
|}
 
[[Category:Visual identity templates]]
 
[[Category:Visual identity templates]]

Revision as of 13:26, 23 February 2013