Template:Event: Difference between revisions

From Technologia Incognita
Jump to navigation Jump to search
Make url end on .ical
iCal -> iCalendar
 
(10 intermediate revisions by the same user not shown)
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|}}}|
   {{!}}-
   {{!}}-
   ! style="background-color:#DDDDDD;" {{!}} Start
   ! style="background-color:#DDDDDD;" {{!}} Start
   {{!}} {{#set: StartDateTime={{{Start|}}}}} {{#set: Date={{{Start|}}}}} {{{Start|}}}
   {{!}} {{#set: Date={{{StartDate|}}} {{{StartTime|}}}}} {{#time: l j F Y H:i|{{{StartDate|}}} {{{StartTime|}}}}}
   {{!}}-
   {{!}}-
   ! style="background-color:#DDDDDD;" {{!}} End
   ! style="background-color:#DDDDDD;" {{!}} End
   {{!}} {{#set: EndDateTime={{{End|}}}}} {{{End|}}}
   {{!}} {{#if:{{{EndDate|}}}|{{#set: EndDateTime={{{EndDate|}}} {{{EndTime|}}}}} {{#time: l j F Y H:i|{{{EndDate|}}} {{{EndTime|}}}}} | {{#set: EndDateTime={{{StartDate|}}} {{{EndTime|}}}}} {{#time: l j F Y H:i|{{{StartDate|}}} {{{EndTime|}}}}} }}
 
|
|
   {{!}}-
   {{!}}-
   ! style="background-color:#DDDDDD;" {{!}} Date
   ! style="background-color:#DDDDDD;" {{!}} Date
   {{!}} [[Date::{{{Date|}}}]]
   {{!}} {{#set: Date={{{Date|}}}}} [[Date::{{{Date|}}}]]
   {{!}}-
   {{!}}-
   ! style="background-color:#DDDDDD;" {{!}} Time
   ! style="background-color:#DDDDDD;" {{!}} Time
Line 45: Line 46:
}}
}}
|-  
|-  
! style="background-color:#DDDDDD;" | iCal
! style="background-color:#DDDDDD;" | iCalendar
| [[Special:Ask/-5B-5BPage_ID-3A-3A{{PAGEID}}-5D-5D/?=summary/?Date=start/?EndDateTime=end/?Has-20location=Location/?Has-20description=description/mainlabel=/limit=1/offset=0/format=icalendar/sort=Date/order=desc/title=Technologia-20Incognita/description=Events-20happening-2/Event.ical|Add to calendar]]
| [[Special:Ask/-5B-5BPage_ID-3A-3A{{PAGEID}}-5D-5D/?=summary/?Date=start/?EndDateTime=end/?Has-20location=Location/?Has-20description=description/mainlabel=/limit=1/offset=0/format=icalendar/sort=Date/order=desc/title={{PAGEID}}/description=Event-20happening-20at-20TechInc/{{PAGEID}}.ical|Add to calendar]]
|}
|}



Latest revision as of 00:13, 14 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.