Difference between revisions of "Template:ICSCal"

From Second Life Wiki
Jump to navigation Jump to search
(went full out UTC)
(added support again for timezone)
Line 1: Line 1:
<includeonly><span class="plainlinks">[http://nonbaryonic.no-ip.org/scripts/gen-ics.php?job=mk&cal={{#urlencode:{{{cal|SL Events}}}}}&title={{#urlencode:{{{title|(no title)}}} {{#ifeq:{{{host|*}}}|*||  by {{{host}}}}}}}&details={{#urlencode:{{{details}}}}}&location={{#urlencode:{{{at}}}}}&host={{#urlencode:{{{host|(unspecified)}}}}}&url={{#urlencode:{{{url|{{FULLPAGENAME}}}}}}}&start={{#time:Ymd\THis\Z|{{{date}}} {{{sltime}}} -8 hours}}&end={{#time:Ymd\THis\Z|{{{date}}} {{{sltime}}} +{{{dur}}} -8 hours}}&tz=UTC +iCal/ICS]</span></includeonly>
<includeonly><span class="plainlinks">[http://nonbaryonic.no-ip.org/scripts/gen-ics.php?job=mk&cal={{#urlencode:{{{cal|SL Events}}}}}&title={{#urlencode:{{{title|(no title)}}} {{#ifeq:{{{host|*}}}|*||  by {{{host}}}}}}}&details={{#urlencode:{{{details}}}}}&location={{#urlencode:{{{at}}}}}&host={{#urlencode:{{{host|(unspecified)}}}}}&url={{#urlencode:{{{url|{{FULLPAGENAME}}}}}}}&start={{#time:Ymd\THis\Z|{{{date}}} {{{sltime}}} -8 hours}}&end={{#time:Ymd\THis\Z|{{{date}}} {{{sltime}}} +{{{dur}}} -8 hours}}&tz=US%2FPacific +iCal/ICS]</span></includeonly>


<noinclude>
<noinclude>

Revision as of 05:33, 25 September 2008


{{ICSCal
 |cal=
 |title=
 |details=
 |date=
 |sltime=
 |dur=
 |host=
 |at=
 |}}

Example:

{{ICSCal
 |title=Group Meeting
 |details=To discuss all kinds of things
 |date=7/13/2008
 |sltime=10 PM
 |dur=60 min
 |host=Nava Muni
 |at=Nava's land
 |}}

Events}}&title={{#urlencode:Group Meeting by Nava Muni}}&details={{#urlencode:To discuss all kinds of things}}&location={{#urlencode:Nava's land}}&host={{#urlencode:Nava Muni}}&url={{#urlencode:Template:ICSCal}}&start=20080713T140000Z&end=20080713T150000Z&tz=US%2FPacific +iCal/ICS


Template loop detected: Template:ICSCal