Difference between revisions of "Template:GCal"

From Second Life Wiki
Jump to navigation Jump to search
(changed sample data from 2200 to 10 PM)
(changed to assum time as SL time)
Line 1: Line 1:
<includeonly>[http://www.google.com/calendar/event?action=TEMPLATE&text={{#urlencode:{{{title}}}}}&details={{#urlencode:{{{details}}}}}&dates={{#time:Ymd\THis\Z|{{{date}}} {{{zulu}}}}}/{{#time:Ymd\THis\Z|{{{date}}} {{{zulu}}} +{{{dur}}}}}&sprop=host:{{#urlencode:{{host|(unspecified)}}}}&sprop=name:{{#urlencode:{{PAGENAME}}}}&sprop=website:{{#urlencode:{{FULLPAGENAME}}}}&location={{#urlencode:{{{at}}}}} +Google Calendar]</includeonly>
<includeonly>[http://www.google.com/calendar/event?action=TEMPLATE&text={{#urlencode:{{{title}}}}}&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:{{FULLPAGENAME}}}}&location={{#urlencode:{{{at}}}}} +Google Calendar]</includeonly>


<noinclude>
<noinclude>
Line 6: Line 6:
  |details=
  |details=
  |date=
  |date=
  |zulu=
  |sltime=
  |dur=
  |dur=
  |host
  |host
Line 17: Line 17:
  |details=To discuss all kinds of things
  |details=To discuss all kinds of things
  |date=7/13/2008
  |date=7/13/2008
  |zulu=10 PM
  |sltime=10 PM
  |dur=60 min
  |dur=60 min
  |host=Nava
  |host=Nava
Line 26: Line 26:
  |details=To discuss all kinds of things
  |details=To discuss all kinds of things
  |date=7/13/2008
  |date=7/13/2008
  |zulu=10 PM
  |sltime=10 PM
  |dur=60 min
  |dur=60 min
  |host=Nava
  |host=Nava

Revision as of 19:38, 8 August 2008


{{GCal
 |title=
 |details=
 |date=
 |sltime=
 |dur=
 |host
 |at=
 |}}

Example:

{{GCal
 |title=Group Meeting
 |details=To discuss all kinds of things
 |date=7/13/2008
 |sltime=10 PM
 |dur=60 min
 |host=Nava
 |at=Nava's land
 |}}

Meeting}}&details={{#urlencode:To discuss all kinds of things}}&dates=20080713T220000Z/20080713T230000Z&sprop=host:{{#urlencode:Template:Host}}&sprop=name:{{#urlencode:GCal}}&sprop=website:{{#urlencode:Template:GCal}}&location={{#urlencode:Nava's land}} +Google Calendar