helialprofile.png
Welcome to IOPWiki, Commander. You can contribute to this wiki without an account. Learn how to contribute.

Template:ICSDownloadLink/doc

From IOP Wiki
Jump to navigation Jump to search

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

Template parameters

This template has custom formatting.

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.

Default
empty
Example
Shattered Connexion
Auto value
empty
Stringrequired
Event startstart

The start date of the event.

Default
empty
Example
2021-08-12T04:00:00+07
Auto value
empty
Daterequired
Event endend

The ending of the event.

Default
empty
Example
2021-08-26T10:00:00+07
Auto value
empty
Daterequired

For a list of time zones please see timezonedb.

Usage[edit]

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[edit]