Difference between revisions of "Template:ICSCal"

From Second Life Wiki
Jump to navigation Jump to search
(added '+8 hours')
(no - it was a misplaced <noinclude>)
 
(10 intermediate revisions by the same user not shown)
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=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}}}}}&end={{#time:Ymd\THis|{{{date}}} {{{sltime}}} +{{{dur}}}}} +iCal/ICS]</span></includeonly>


<noinclude>
<noinclude>
Line 6: Line 6:
  |title=
  |title=
  |details=
  |details=
|url=
  |date=
  |date=
  |sltime=
  |sltime=
Line 13: Line 14:
  |}}</nowiki></pre></code></div>
  |}}</nowiki></pre></code></div>


Example:
<div id="box" style="margin-left:20px;margin-right:20px;padding-left:4px">
''NOTE: the follow parameters are optional''
* <code>cal</code>
* <code>url</code>
</div>
 
== Examples ==
<div style="font-size:140%"><code><pre><nowiki>{{ICSCal
<div style="font-size:140%"><code><pre><nowiki>{{ICSCal
  |title=Group Meeting
  |title=Group Meeting
Line 23: Line 30:
  |at=Nava's land
  |at=Nava's land
  |}}</nowiki></pre></code></div>
  |}}</nowiki></pre></code></div>
</noinclude>
{{ICSCal
{{ICSCal
  |title=Group Meeting
  |title=Group Meeting
Line 33: Line 39:
  |at=Nava's land
  |at=Nava's land
  |}}
  |}}
</noinclude>

Latest revision as of 03:54, 26 September 2008


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

NOTE: the follow parameters are optional

  • cal
  • url

Examples

{{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=20080713T220000&end=20080713T230000 +iCal/ICS