Difference between revisions of "Template:ICSCal"

From Second Life Wiki
Jump to navigation Jump to search
(removed UTC text and replaced 'T' between date and time)
(added ' -4 hours' inside each time element)
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|{{{date}}} {{{sltime}}}}}&end={{#time:Ymd\THis|{{{date}}} {{{sltime}}} +{{{dur}}}}}&tz=US%2FPacific +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|{{{date}}} {{{sltime}}} -4 hours}}&end={{#time:Ymd\THis|{{{date}}} {{{sltime}}} +{{{dur}}} -4 hours}}&tz=US%2FPacific +iCal/ICS]</span></includeonly>


<noinclude>
<noinclude>

Revision as of 05:35, 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=20080713T180000&end=20080713T190000&tz=US%2FPacific +iCal/ICS


Template loop detected: Template:ICSCal