Template:Event announce: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 9: Line 9:
<div class="my-2">{{#ifeq: {{#time: Ymd|{{{Date Start|}}}}}
<div class="my-2">{{#ifeq: {{#time: Ymd|{{{Date Start|}}}}}
   |{{#time: Ymd|{{{Date End|}}}}}
   |{{#time: Ymd|{{{Date End|}}}}}
   |{{#time: F j, Y H:i|{{{Date Start|}}}}}
   |{{#replace: {{#time: F j, Y H:i|{{{Date Start|}}}}}| 00:00|}}
   |{{#if: {{{Date Start|}}}
   |{{#if: {{{Date Start|}}}
     |{{#time: m.d.y H:i|{{{Date Start|}}}}}{{#if:{{{Date End|}}}|&ndash;{{#time: m.d.y H:i|{{{Date End|}}}}}}}
     |{{#replace: {{#time: m.d.y H:i|{{{Date Start|}}}}}{{#if:{{{Date End|}}}|&ndash;{{#time: m.d.y H:i|{{{Date End|}}}}}}}| 00:00|}}
   }}
   }}
}}<!--
}}<!--

Revision as of 12:10, January 26, 2024

November 23, 2024 19:19