Difference between revisions of "Template:Events"
From Earth Science Information Partners (ESIP)
Line 18: | Line 18: | ||
}} | }} | ||
}} | }} | ||
+ | }} | ||
+ | |||
+ | {{#vardefine: duration_label | ||
+ | |{{#ifeq:{{{Start date|}}} | ||
+ | |{{{End date|}}} | ||
+ | |{{#time: M j, Y|{{{Start date|}}} }} {{{Start hour|}}}:{{{Start minute|}}}-{{{End hour|}}}:{{{End minute|}}} | ||
+ | |{{#time: M j, Y|{{{Start date|}}} }} {{{Start hour|}}}:{{{Start minute|}}} - {{#time: M j, Y|{{{End date|}}} }} {{{End hour|}}}:{{{End minute|}}} | ||
+ | }} | ||
}} | }} | ||
Line 29: | Line 37: | ||
|Event coordinates={{#var: coordinates}} | |Event coordinates={{#var: coordinates}} | ||
|Event participant={{{Event participant|}}}|+sep=; | |Event participant={{{Event participant|}}}|+sep=; | ||
+ | |Event duration label={{#var: duration_label}} | ||
}} | }} | ||
</div> | </div> |