Difference between revisions of "Template:Event"

From Wikimedia District of Columbia
Jump to: navigation, search
(Add virtual event link)
(Testing)
Line 6: Line 6:
 
<div id="calendar-entry" class="plainlinks" style="width:100%; border-top: 1px solid #BBBDBF; border-left: 1px dotted #BBBDBF; border-right: 1px dotted #BBBDBF; border-collapse:collapse; padding-bottom:1em;">
 
<div id="calendar-entry" class="plainlinks" style="width:100%; border-top: 1px solid #BBBDBF; border-left: 1px dotted #BBBDBF; border-right: 1px dotted #BBBDBF; border-collapse:collapse; padding-bottom:1em;">
  
<div id="calendar-date-tab" style="vertical-align:top; background:#F4F4F4; padding-left:1em; padding-top:0.5em; padding-bottom:0.5em;">
+
<div id="calendar-date-tab" style="vertical-align:top; background:{{#ifeq:{{{virtual|}}}|yes|#c6ecd9|#F4F4F4}}; padding-left:1em; padding-top:0.5em; padding-bottom:0.5em;">
 
<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; {{#ifeq:{{{cancelled|}}}|yes|color:#808080;}}">
 
<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; {{#ifeq:{{{cancelled|}}}|yes|color:#808080;}}">{{{title}}}</h3>
+
<h3 style="border-bottom:0; margin-left:-1em; {{#ifeq:{{{cancelled|}}}|yes|color:#808080;}}">{{{title}}}</h3>{{#ifeq:{{{virtual|}}}|yes|<br/><span style="color:#009900; font-variant:small-caps;">'''virtual event'''</span>}}
  
  

Revision as of 18:28, 19 March 2020