Template:Upcoming Events: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
<div class="card-body px-md-5 d-flex flex-column justify-content-center"> | <div class="card-body px-md-5 d-flex flex-column justify-content-center"> | ||
<div class="card-text"> | <div class="card-text"> | ||
<div class="font-weight-bold text-uppercase text-primary-moha">{{Event dates | <div class="font-weight-bold text-uppercase text-primary-moha">{{#ifeq: {{#time: Ymd|{{{Date Start|}}}}} | ||
|{{#time: Ymd|{{{Date End|}}}}} | |||
|{{#time: F j, Y|{{{Date Start|}}}}} {{!}} <!-- | |||
-->{{Event dates | |||
|Date Start={{{Date Start|}}} | |||
|Date End={{{Date End|}}} | |||
}} | |||
|{{#if: {{{Date Start|}}} | |||
|{{#time: m.d.y|{{{Date Start|}}}}} | |||
}}<!-- | |||
-->{{#if: {{{Date End|}}} | |||
|{{#if: {{{Date Start|}}} | |||
|– | |||
}}{{#time: m.d.y|{{{Date End|}}}}} | |||
}} | |||
}} {{#if:{{#ask: [[{{{Event|}}}]][[Category:Current Events]]}}|<span class="badge badge-warning fa-1x">CURRENT</span>}} | }} {{#if:{{#ask: [[{{{Event|}}}]][[Category:Current Events]]}}|<span class="badge badge-warning fa-1x">CURRENT</span>}} | ||
</div><!-- | </div><!-- |