Difference between revisions of "Template:ICSCal"
Jump to navigation
Jump to search
(decided to go with start/end instead of start/dur) |
(no - it was a misplaced <noinclude>) |
||
(22 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:{{ | <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> | ||
</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> | ||
<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 25: | Line 30: | ||
|at=Nava's land | |at=Nava's land | ||
|}}</nowiki></pre></code></div> | |}}</nowiki></pre></code></div> | ||
{{ICSCal | {{ICSCal | ||
|title=Group Meeting | |title=Group Meeting | ||
Line 35: | 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
|}}