Template:Event dates: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{# | {{#if: {{{Date Start|}}}{{{Date End|}}} | ||
| | |{{#ifeq: {{#time: H:i|{{{Date Start|}}}}}-{{#time: H:i|{{{Date End|}}}}} | ||
|00:00-00:00 | |00:00-00:00 | ||
| | | | ||
|{{ | |{{#ifeq: {{#time: Ymd|{{{Date Start|}}}}}|{{#time: Ymd|{{{Date End|}}}}} | ||
|{{#time: g{{#ifexpr: 0{{#time:i|{{{Date Start|}}}}} = 0 ||:i}}a|{{{Date Start|}}}}}–{{#time: g{{#ifexpr: 0{{#time:i|{{{Date End|}}}}} = 0 ||:i}}a|{{{Date End|}}}}} | |||
}} | |||
}} | }} | ||
}} | }} |