Template:Event: Difference between revisions

From Technologia Incognita
Jump to navigation Jump to search
Set Date based on Date if Start is not defined
Test new date time format on start date
Line 18: Line 18:
|- style="font-size:150%; background: #CCCCCC; text-align:center;"  
|- style="font-size:150%; background: #CCCCCC; text-align:center;"  
! colspan=2|  {{PAGENAME}}
! colspan=2|  {{PAGENAME}}
{{#if:{{{Start|}}}|
{{#if:{{{StartDate|}}}| {{#set: Date={{{{StartDate|}}} {{{StartTime|}}}}}}
   {{!}}-
   {{!}}-
   ! style="background-color:#DDDDDD;" {{!}} Start
   ! style="background-color:#DDDDDD;" {{!}} Start
   {{!}} {{#set: StartDateTime={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}}
   {{!}} {{#time: r|{{{{StartDate|}}} {{{StartTime|}}}}}}}}
   {{!}}-
   {{!}}-
   ! style="background-color:#DDDDDD;" {{!}} End
   ! style="background-color:#DDDDDD;" {{!}} End

Revision as of 22:11, 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.