Template:Event: Difference between revisions

From Technologia Incognita
Jump to navigation Jump to search
Awful if condition for date formatting
Test custom Start datetime format
Line 21: Line 21:
   {{!}}-
   {{!}}-
   ! style="background-color:#DDDDDD;" {{!}} Start
   ! style="background-color:#DDDDDD;" {{!}} Start
   {{!}} {{#set: Date={{{StartDate|}}} {{{StartTime|}}}}} {{#time: r|{{{StartDate|}}} {{{StartTime|}}}}}
   {{!}} {{#set: Date={{{StartDate|}}} {{{StartTime|}}}}} {{#time: l j F Y H:i |{{{StartDate|}}} {{{StartTime|}}}}}
   {{!}}-
   {{!}}-
   ! style="background-color:#DDDDDD;" {{!}} End
   ! style="background-color:#DDDDDD;" {{!}} End

Revision as of 22:48, 13 February 2025

This is the "Event" template. It should be called in the following format:

{{Event
|Start=
|End=
|Location=
|EventType=
|Contact=
}}

Edit the page to see the template text.