Template:ICSDownloadLink

Documentation icon Template documentation[view] [edit] [history] [purge]

Creates a download link for an ICS file (event date container).

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Title of the eventtitle

The general title of the event. This is the text that will be shown in a calendar. Keep it short.

Example
Shattered Connexion
Stringrequired
Event startstart

The start date of the event.

Example
2021-08-12T04:00:00+07
Daterequired
Event endend

The ending of the event.

Example
2021-08-26T10:00:00+07
Daterequired

For a list of time zones please see timezonedb.

Usage

See the template's testcases:


Testing date formatting.
Wiki code
{{#time:Ymd"T"His| November 29 2021 16:00 Asia/Seoul}}<br/>
{{#time:Ymd"T"His| 2021-08-12T04:00:00+07}}
Main version 20211129T070000

20210811T210000

Sandbox version 20211129T070000

20210811T210000

Test with given full date definition
Wiki code
{{ICSDownloadLink
|title=Name of the event
|start=November 29 2021 16:00 Asia/Shanghai
|end=December 23 2021 16:00 Asia/Shanghai}}
Main version
Sandbox version (no sandbox subpage)
Test with short date definition
Wiki code
{{ICSDownloadLink
|title=Name of the event
|start=2021-08-12T04:00:00+07
|end=2021-08-25T04:00:00+07}}
Main version
Sandbox version (no sandbox subpage)

See also