Template:Current Opportunities: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<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">{{#ifeq: {{#time: Ymd|{{{Opportunity start date|}}}}} | <div class="font-weight-bold text-uppercase text-primary-moha">{{#if:{{#ask: [[{{{Opportunity|}}}]][[Category:Rolling Opportunities]]}} | ||
| | |||
|{{#ifeq: {{#time: Ymd|{{{Opportunity start date|}}}}} | |||
|{{#time: Ymd|{{{Opportunity end date|}}}}} | |||
|{{#time: F j, Y|{{{Opportunity start date|}}}}} {{!}} <!-- | |||
-->{{Event dates | -->{{Event dates | ||
|Date Start={{{Opportunity start date|}}} | |Date Start={{{Opportunity start date|}}} | ||
|Date End={{{Opportunity end date|}}} | |Date End={{{Opportunity end date|}}} | ||
}} | }} | ||
|{{#if: {{{Opportunity start date|}}} | |||
|{{#time: m.d.y|{{{Opportunity start date|}}}}} | |||
}}<!-- | |||
-->{{#if: {{{Opportunity end date|}}} | -->{{#if: {{{Opportunity end date|}}} | ||
|{{#if: {{{Opportunity start date|}}} | |{{#if: {{{Opportunity start date|}}} | ||
|– | |– | ||
}}{{#time: m.d.y|{{{Opportunity end date|}}}}} | }}{{#time: m.d.y|{{{Opportunity end date|}}}}} | ||
}} | |||
}} | |||
}} {{#if:{{#ask: [[{{{Opportunity|}}}]][[Category:Rolling Opportunities]]}}|<span class="badge badge-warning fa-1x">ROLLING</span>}} | }} {{#if:{{#ask: [[{{{Opportunity|}}}]][[Category:Rolling Opportunities]]}}|<span class="badge badge-warning fa-1x">ROLLING</span>}} | ||
</div><!-- | </div><!-- |