Difference between revisions of "Template:Events"

From Earth Science Information Partners (ESIP)
Line 10: Line 10:
 
####### NEWS FEED #######
 
####### NEWS FEED #######
  
--><div class="d-flex">
+
--><div class="d-block d-md-flex">
 
<div class="text-muted" style="width:100px">Committee:</div>'''{{{News feed|}}}'''
 
<div class="text-muted" style="width:100px">Committee:</div>'''{{{News feed|}}}'''
 
</div> <!--  
 
</div> <!--  
Line 17: Line 17:
  
 
-->{{#if: {{{Event tag|}}}
 
-->{{#if: {{{Event tag|}}}
     |<div class="d-flex">
+
     |<div class="d-block d-md-flex">
 
<div class="text-muted" style="width:100px">Tags:</div>{{#arraymap: {{{Event tag|}}}
 
<div class="text-muted" style="width:100px">Tags:</div>{{#arraymap: {{{Event tag|}}}
 
         |;
 
         |;
Line 30: Line 30:
 
   }} <!--
 
   }} <!--
  
####### DATE #######
+
####### DURATION #######
  
--><div class="d-flex">
+
--><div class="d-block d-md-flex">
 
<div class="text-muted" style="width:100px">Duration:</div>{{#ifeq:{{{Start date|}}}
 
<div class="text-muted" style="width:100px">Duration:</div>{{#ifeq:{{{Start date|}}}
 
   |{{{End date|}}}
 
   |{{{End date|}}}
Line 43: Line 43:
  
 
-->{{#if: {{{Event location|}}}
 
-->{{#if: {{{Event location|}}}
     |<div class="d-flex">
+
     |<div class="d-block d-md-flex">
<div class="text-muted" style="width:100px">Location:</div>'''{{{Event location|}}}'''  
+
<div class="text-muted d-flex d-md-block" style="width:100px">Location:</div>'''{{{Event location|}}}'''  
 
</div>
 
</div>
 
}} <!--
 
}} <!--
Line 51: Line 51:
  
 
-->{{#if: {{{Event participant|}}}
 
-->{{#if: {{{Event participant|}}}
     |<div class="d-flex">
+
     |<div class="d-block d-md-flex">
<div class="text-muted" style="width:100px">Participants:</div>{{#arraymap: {{{Event participant|}}}
+
<div class="text-muted d-flex d-md-block" style="width:100px">Participants:</div>{{#arraymap: {{{Event participant|}}}
 
   |;
 
   |;
 
   |@@@
 
   |@@@

Revision as of 12:54, July 17, 2020