Template:Event: Difference between revisions
Jump to navigation
Jump to search
Add missing space to iCal |
iCal -> iCalendar |
||
(7 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:{{{ | {{#if:{{{StartDate|}}}| | ||
{{!}}- | {{!}}- | ||
! style="background-color:#DDDDDD;" {{!}} Start | ! style="background-color:#DDDDDD;" {{!}} Start | ||
{{!}} {{#set: | {{!}} {{#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={{{ | {{!}} {{#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;" | | ! 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={{PAGEID}}/description=Event-20happening- | | [[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.