Template:Single Event Display: Difference between revisions

From MoHA Wiki
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{{Event image}}}
{{{Event image}}}
===={{{Event name}}}====
===={{{Event name}}}====
{{#if: {{{Date Start|}}}|{{#time: m.d.y|{{#time: Y-m-d|{{{Date Start|}}} }} }} - {{#if: {{{Date End|}}}|{{#time: m.d.y|{{#time: Y-m-d|{{{Date End|}}} }}}}}}
{{#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|}}}
        |&ndash;
      }}{{#time: m.d.y|{{{Date End|}}}}}
  }}
}}</div><!--
<br><br>
<br><br>
{{{Event description}}}
{{{Event description}}}
<br><br>
<br><br>

Revision as of 22:55, March 11, 2024