Difference between revisions of "Template:GCal"

From Second Life Wiki
Jump to navigation Jump to search
(cleared two trailing }})
(added a space in title/host)
Line 1: Line 1:
<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>
<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>
<noinclude>

Revision as of 05:01, 25 September 2008


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

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 by Nava}}&details={{#urlencode:To discuss all kinds of things}}&dates=20080713T220000Z/20080713T230000Z&sprop=host:{{#urlencode:Nava}}&sprop=name:{{#urlencode:GCal}}&sprop=website:{{#urlencode:Template:GCal}}&location={{#urlencode:Nava's land}} +Google Calendar