Difference between revisions of "Template:Event"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(Working)
Line 20: Line 20:
 
</div>
 
</div>
   
<div id="calendar-event-description" class="mobile-collapse" style="-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 60%; float:left; right:1.5em; padding-left:2.5em; padding-right:1em; padding-top:1em;">
+
<div id="calendar-event-description" class="mobile-collapse plainlinks" style="-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 60%; float:left; right:1.5em; padding-left:2.5em; padding-right:1em; padding-top:1em;">
{{#if:{{{description|}}}|{{{description}}}|''More details forthcoming!''}}
+
{{#if:{{{description|}}}|{{{description}}}{{#if:{{{info-link|}}}|[{{{info-link|}}} Learn&nbsp;more&nbsp;&raquo;]}}|''More details forthcoming!''}}
 
{{#if:{{{restriction|}}}|&nbsp;
 
{{#if:{{{restriction|}}}|&nbsp;
   
Line 27: Line 27:
 
}}
 
}}
 
<div id="calendar-buttons" class="mobile-collapse">
 
<div id="calendar-buttons" class="mobile-collapse">
{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link|}}}|<div style="padding-bottom:5px;">{{arrow button|external=yes|link={{{rsvp-link}}}|label=Sign up now}}</div>}}}}{{#if:{{{info-link|}}}|{{arrow button|external=yes|color=blue|link={{{info-link}}}|label=Learn more}}}}
+
{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link-meetup|}}}|<div style="padding-bottom:5px;">{{arrow button|external=yes|link={{{rsvp-link-meetup}}}|label=Sign up on Meetup.com}}</div>}}}}{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link-wiki|}}}|<div style="padding-bottom:5px;">{{arrow button|external=yes|link={{{rsvp-link-wiki}}}|label=Sign up on Wikipedia}}</div>}}}}{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link|}}}|{{arrow button|external=yes|link={{{rsvp-link}}}|label=Sign up}}}}}}
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 03:17, 16 February 2015