Difference between revisions of "Template:ICSCal"

From Second Life Wiki
Jump to navigation Jump to search
(tweaked time spec)
(no - it was a misplaced <noinclude>)
 
(21 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:{{PAGENAME}}}}&title={{#urlencode:{{{title}}}}}&details={{#urlencode:{{{details}}}}}&location={{#urlencode:{{{at}}}}}&host={{#urlencode:{{host|(unspecified)}}}}&url={{#urlencode:{{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}}}}}&end={{#time:Ymd\THis|{{{date}}} {{{sltime}}} +{{{dur}}}}} +iCal/ICS]</span></includeonly>


<noinclude>
<noinclude>
<div style="font-size:140%"><code><pre><nowiki>{{ICSCal
<div style="font-size:140%"><code><pre><nowiki>{{ICSCal
|cal=
  |title=
  |title=
  |details=
  |details=
|url=
  |date=
  |date=
  |sltime=
  |sltime=
  |dur=
  |dur=
  |host
  |host=
  |at=
  |at=
  |}}</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 22: 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 32: Line 39:
  |at=Nava's land
  |at=Nava's land
  |}}
  |}}
</noinclude>

Latest revision as of 04: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