Difference between revisions of "Template:Events"

From Earth Science Information Partners (ESIP)
(Created page with "<includeonly><div class="d-none" hidden> {{DISPLAYTITLE: {{{Event title|}}}}} {{DEFAULTSORTKEY: {{{Event title|}}}}} Category:Events [[News feed::{{{News feed|}}}]] </div>")
 
Line 6: Line 6:
 
[[News feed::{{{News feed|}}}]]
 
[[News feed::{{{News feed|}}}]]
 
   
 
   
 +
</div><!--
 +
 +
####### NEWS FEED #######
 +
 +
--><div class="d-flex">
 +
<div class="text-muted" style="width:100px">Committee:</div>
 +
'''{{{News feed|}}}'''
 +
</div> <!--
 +
 +
###### NEWS TAG ######
 +
 +
-->{{#if: {{{Event tag|}}}
 +
    |<div class="d-flex">
 +
<div class="text-muted" style="width:100px">Tags:</div>{{#arraymap: {{{Event tag|}}}
 +
        |;
 +
        |@@@
 +
        |<i class="fa fa-hashtag small"></i> '''@@@'''
 +
        |&#32;
 +
      }}</div><!--
 +
 +
  -->{{#set:
 +
      |Event tag={{{Event tag|}}}|+sep=;
 +
    }}
 +
  }} <!--
 +
 +
####### DATE #######
 +
 +
--><div class="d-flex">
 +
<div class="text-muted" style="width:100px">Duration:</div>
 +
{{#ifeq:{{{Start date|}}}
 +
  |{{{End date|}}}
 +
  |{{#time: M j, Y|{{{Start date|}}} }} <span class="text-muted">{{{Start hour|}}}:{{{Start minute|}}}-{{{End hour|}}}:{{{End minute|}}}</span>
 +
  |{{#time: M j, Y|{{{Start date|}}} }} <span class="text-muted">{{{Start hour|}}}:{{{Start minute|}}}</span> - {{#time: M j, Y|{{{End date|}}} }} <span class="text-muted">{{{End hour|}}}:{{{End minute|}}}</span>
 +
}}
 +
</div>
 +
<!--
 +
 +
####### EVENT DESCRIPTION #######
 +
 +
--><div class="my-3">
 +
{{{Event description|}}}
 +
</div><!--
 +
 +
####### ATTACHMENTS #######
 +
 +
-->
 +
<div class="card-columns news-metadata">
 +
{{{Event attachments|}}}
 
</div>
 
</div>

Revision as of 12:45, July 17, 2020