Template:ICSDownloadLink: Difference between revisions
Jump to navigation
Jump to search
Initial setup |
m Typo |
||
Line 1: | Line 1: | ||
<includeonly>{{#widget:ICSGenerator|title={{{title|No title specified}}}|start={{#time:Ymd"T"His| {{{start|now}}}}}|end={{#time:Ymd"T"His| {{{end|now}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | <includeonly>{{#widget:ICSGenerator|title={{{title|No title specified}}}|start={{#time:Ymd"T"His| {{{start|now}}}}}|end={{#time:Ymd"T"His| {{{end|now}}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 18:39, 17 February 2022
Creates a download link for an ICS file (event date container).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title of the event | title | The general title of the event. This is the text that will be shown in a calendar. Keep it short.
| String | required |
Event start | start | The start date of the event.
| Date | required |
Event end | end | The ending of the event.
| Date | required |
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]
The above documentation is transcluded from Template:ICSDownloadLink/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |