Welcome to IOPWiki, Commander.
We are searching for editors to complete gameplay topics in all games. You can contribute without an account. Learn how to contribute and join our Discord server.

Template:ICSDownloadLink: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
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

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

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

Template parameters

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