Difference between revisions of "Template:GCal"
Jump to navigation
Jump to search
(added time padding (for seconds) to start time) |
(reworked 'dates') |
||
Line 1: | Line 1: | ||
<includeonly>[http://www.google.com/calendar/event?action=TEMPLATE&text={{#urlencode:{{{title}}}}}&details={{#urlencode:{{{details}}}}}&dates={{#time:Ymd|{{{date}}}}} | <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> | ||
<noinclude> | <noinclude> |
Revision as of 14:59, 6 August 2008
{{GCal
|title=
|details=
|date=
|zulu=
|dur=
|host
|at=
|}}
Example:
{{GCal
|title=Group Meeting
|details=To discuss all kinds of things
|date=7/13/2008
|zulu=2200
|dur=60 min
|host=Nava
|at=Nava's land
|}}
Meeting}}&details={{#urlencode:To discuss all kinds of things}}&dates=20080713T000000Z 2200}}/20080713T000000Z 2200 +60 min}}&sprop=host:{{#urlencode:Template:Host}}&sprop=name:{{#urlencode:GCal}}&sprop=website:{{#urlencode:Template:GCal}}&location={{#urlencode:Nava's land}} +Google Calendar