Template:Event announce: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 1: Line 1:
<div class="card border-0">
<div class="card border-0">
<div class="moha-infobox-section w-100">
<div class="moha-infobox-section w-100">
<div class="moha-infobox-section-header">{{{Event|}}}</div>
<div class="moha-infobox-section-body">
<div class="moha-infobox-section-body">
{{#if:{{{Event image|}}}
{{#if:{{{Event image|}}}
Line 11: Line 10:
</div>
</div>
}}
}}
<table class="w-100">
{{#ifeq: {{#time: Ymd|{{{Date Start|}}}}}
{{#ifeq: {{#time: Ymd|{{{Date Start|}}}}}|{{#time: Ymd|{{{Date End|}}}}}|
  |{{#time: Ymd|{{{Date End|}}}}}
<tr>
  |<div class="my-2">{{#time: F j, Y|{{{Date Start|}}}}}</div>
<td>Date</td>
  |{{#if: {{{Date Start|}}}
<td>{{#time: m.d.y|{{{Date Start|}}}}}</td>
    |<div class="my-2">{{#time: m.d.y|{{{Date Start|}}}}}{{#if:{{{Date End|}}}|&ndash;{{#time: m.d.y|{{{Date End|}}}}}}}</div>
</tr>
  }}
  |
{{#if: {{{Date Start|}}}|
<tr>
<td>Date {{#if: {{{Date End|}}}|start}}</td>
<td>{{#time: m.d.y|{{{Date Start|}}}}}</td>
</tr>
}}<!--
}}<!--


-->{{#if: {{{Date End|}}}|
--><div class="h3">[[{{{Event|Event}}}|{{{Event|Event}}}]]</div><!--
<tr>
<td>Date end</td>
<td>{{#time: m.d.y|{{{Date End|}}}}}</td>
</tr>
}}
}}<!--


-->{{#if: {{{Event format|}}}|<tr>
-->{{#if: {{{Event format|}}}|<tr>

Revision as of 19:45, December 17, 2023

December 4, 2024