Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 78: Line 78:
-->{{#if: {{{Date Start|}}}{{{Date End|}}}
-->{{#if: {{{Date Start|}}}{{{Date End|}}}
     |{{#ifeq: {{#time: Ymd|{{{Date Start|}}}}}|{{#time: Ymd|{{{Date End|}}}}}
     |{{#ifeq: {{#time: Ymd|{{{Date Start|}}}}}|{{#time: Ymd|{{{Date End|}}}}}
         |
         |<tr>
<tr>
<td>Time</td>
<td>{{#time: g:ia|{{{Date Start|}}}}}&ndash;{{#time: g:ia|{{{Date End|}}}}}</td>
</tr>
        |{{#if: {{{Date Start|}}}
          |<tr>
<td>Start Time</td>
<td>Start Time</td>
<td>{{#time: g:ia|{{{Date Start|}}}}}</td>
<td>{{#time: g:ia|{{{Date Start|}}}}}</td>
</tr>
</tr>
<tr>
}}<!---->{{#if: {{{DateEnd|}}}
          |<tr>
<td>End Time</td>
<td>End Time</td>
<td>{{#time: g:ia|{{{Date End|}}}}}</td>
<td>{{#time: g:ia|{{{Date End|}}}}}</td>
</tr>
</tr>
  }}
}}
}}<!--
      }}
  }}<!--


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

Revision as of 14:26, February 10, 2024