Template:GCal: Difference between revisions
Jump to navigation
Jump to search
body |
added some missing template params; cleaned up documentation a bit |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[http://www.google.com/calendar/event?action=TEMPLATE&text={{#urlencode:{{{title}}}}}&details={{#urlencode:{{{details}}}}}&dates={{#time:Ymd|{{{date}}} | <includeonly><span class="plainlinks">[http://www.google.com/calendar/event?action=TEMPLATE&text={{#urlencode:{{{title|(no title)}}} {{#ifeq:{{{host|*}}}|*|| by {{{host}}}}}}}&details={{#urlencode:{{{details}}}}}&dates={{#time:Ymd\THis\Z|{{{date}}} {{{sltime}}}}}/{{#time:Ymd\THis\Z|{{{date}}} {{{sltime}}} +{{{dur}}}}}&sprop=host:{{#urlencode:{{{host|(unspecified)}}}}}&sprop=name:{{#urlencode:{{PAGENAME}}}}&sprop=website:{{#urlencode:{{{url|{{FULLPAGENAME}}}}}}}&location={{#urlencode:{{{at}}}}} +Google Calendar]</span></includeonly> | ||
<noinclude> | |||
<div style="font-size:140%"><code><pre><nowiki>{{GCal | |||
|cal= | |||
|title= | |||
|details= | |||
|url= | |||
|date= | |||
|sltime= | |||
|dur= | |||
|host= | |||
|at= | |||
|}}</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>{{GCal | |||
|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 | |||
|}}</nowiki></pre></code></div> | |||
{{GCal | |||
|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 | |||
|}} | |||
</noinclude> |
Latest revision as of 04:31, 26 September 2008
{{GCal
|cal=
|title=
|details=
|url=
|date=
|sltime=
|dur=
|host=
|at=
|}}
NOTE: the follow parameters are optional
cal
url
Examples
{{GCal
|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
|}}