Difference between revisions of "Template:Event"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(Working)
(24 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
<h3 style="display:inline; border-bottom:0;">{{{month}}}&nbsp;{{{day}}}</h3>{{anchor|{{{month}}} {{{day}}}}}
 
<h3 style="display:inline; border-bottom:0;">{{{month}}}&nbsp;{{{day}}}</h3>{{anchor|{{{month}}} {{{day}}}}}
 
</div>
 
</div>
<div id="calendar-event-details" class="mobile-collapse" style="-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width:40%; float:left; padding-top:1em; padding-left:2.5em;">
+
<div id="calendar-event-details" class="mobile-collapse" style="-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width:40%; float:left; padding-top:1em; padding-left:2.5em; {{#ifeq:{{{cancelled|}}}|yes|color:#808080;}}">
<h3 style="border-bottom:0; margin-left:-1em;">{{{title}}}</h3>
+
<h3 style="border-bottom:0; margin-left:-1em; {{#ifeq:{{{cancelled|}}}|yes|color:#808080;}}">{{{title}}}</h3>
   
   
Line 17: Line 17:
   
 
'''WHERE'''
 
'''WHERE'''
: ''{{{place}}}''{{#if:{{{address|}}}|<br />''{{{address}}}''}}
+
: ''{{{place}}}''{{#if:{{{address|}}}|<br />''{{{address}}}''}}{{#if:{{{room|}}}|<br />''[{{{room}}}]''}}
 
</div>
 
</div>
   
<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;">
+
<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; {{#ifeq:{{{cancelled|}}}|yes|color:#808080;}}">
{{#ifeq:{{{cancelled|}}}|yes|
+
{{#ifeq:{{{cancelled|}}}|yes|<span style="color:#990000; text-transform:uppercase;">'''This event has been cancelled.'''</span><br /><br />}}
<span style="color:#990000; text-transform:uppercase;">'''Please note that this event has been cancelled.'''</span>
 
}}
 
 
{{#if:{{{description|}}}|{{{description}}}{{#if:{{{info-link|}}}|&nbsp;'''[{{{info-link|}}} Learn&nbsp;more&nbsp;&raquo;]'''}}|''More details forthcoming!''}}
 
{{#if:{{{description|}}}|{{{description}}}{{#if:{{{info-link|}}}|&nbsp;'''[{{{info-link|}}} Learn&nbsp;more&nbsp;&raquo;]'''}}|''More details forthcoming!''}}
 
{{#if:{{{restriction|}}}|&nbsp;
 
{{#if:{{{restriction|}}}|&nbsp;
Line 30: Line 28:
 
}}
 
}}
 
{{#ifeq:{{{cancelled|}}}|yes||<div id="calendar-buttons" class="mobile-collapse">
 
{{#ifeq:{{{cancelled|}}}|yes||<div id="calendar-buttons" class="mobile-collapse">
{{#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}}}}}}
+
{{#ifexpr:{{is future|month={{{month}}}|day={{{day}}}|year={{{year}}}}}|{{#if:{{{rsvp-link-eventbrite|}}}|<div style="padding-bottom:5px;">{{arrow button|external=yes|link={{{rsvp-link-eventbrite}}}|label=Sign up on Eventbrite}}</div>}}}}{{#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|}}}|<div style="padding-bottom:5px;">{{arrow button|external=yes|link={{{rsvp-link}}}|label=Sign up}}</div>}}}}
 
</div>}}
 
</div>}}
 
</div>
 
</div>

Revision as of 03:10, 15 June 2017