Difference between revisions of "Template:SLVEC coaching"

From Second Life Wiki
Jump to navigation Jump to search
(added Google calendar tie-in, #5)
(added Google calendar tie-in, #6)
Line 30: Line 30:
  |}
  |}
{{ #if: {{{notes|}}} | <br><div style='padding-left:32px;padding-right:32px;padding-bottom:8px'><div style='border:dashed 1px; padding:6px'>'''Notes:''' ''{{{notes}}}''</div></div> | }}
{{ #if: {{{notes|}}} | <br><div style='padding-left:32px;padding-right:32px;padding-bottom:8px'><div style='border:dashed 1px; padding:6px'>'''Notes:''' ''{{{notes}}}''</div></div> | }}
[http://www.google.com/calendar/event?action=TEMPLATE&text={{#urlencode:{{{title}}}}}&details={{#urlencode:{{{description}}}}}&dates={{#time: Ymd|{{{date}}}}}T{{#time: His|{{{sl_time}}}}}Z/{{#time: Ymd|{{{date}}}}}T{{#time: His|{{{sl_time}}} +{{#sub: {{{length}}}|0|{{#pos: {{{length}}}| |0}}}} {{#ifeq: {{#sub: {{{length}}}|{{#pos: {{{length}}}| |0}}+1|{{#pos: {{{length}}}| |0}}+2}} | h | hours | minutes}}}}Z&sprop=coach:{{#urlencode:{{{coach}}}}}&sprop=website:{{FULLPAGENAMEE}}&location={{#urlencode:{{{location}}}}} [http://www.google.com/calendar/images/ext/gc_button2.gif] ]
[http://www.google.com/calendar/event?action=TEMPLATE&text={{#urlencode:{{{title}}}}}&details={{#urlencode:{{{description}}}}}&dates={{#time: Ymd|{{{date}}}}}T{{#time: His|{{{sl_time}}}}}Z/{{#time: Ymd|{{{date}}}}}T{{#time: His|{{{sl_time}}} +{{#sub: {{{length}}}|0|{{#pos: {{{length}}}| |0}}}} {{#ifeq: {{#sub: {{{length}}}|{{#pos: {{{length}}}| |0}}+1|{{#pos: {{{length}}}| |0}}+2}} | h | hours | minutes}}}}Z&sprop=coach:{{#urlencode:{{{coach}}}}}&sprop=website:{{FULLPAGENAMEE}}&location={{#urlencode:{{{location}}}}} +Google Calendar ]
</div><br></includeonly>
</div><br></includeonly>



Revision as of 15:21, 5 August 2008


This template was created to help standardize the layout/format of Upcoming Optional Classes session postings located on the Volunteer-sponsored_Classes page.

Usage

Minimum Requirements

{{SLVEC_coaching
 |coach=
 |title=
 |date=
 |sl_time=
 |length=
 |location=
 |language=
 |rsvp=
 |description=
 |notes=
 |}}

NOTE:

if language is missing, English is assumed
if rsvp is missing, none is assumed
notes is optional
All other fields required

If you wish no RSVP, please exclude the rsvp template parameter.

You can transform a class announcement to a class cancellation simply by ...

  • changing the template name to SLVEC_coaching_cancelled
  • adding a reason field
All other fields can stay in-place. This allows for a quick/simple reversal of cancellation should that be appropriate.

Examples

{{SLVEC_coaching
 |coach=Nava Muni
 |title=Mac Mentor Primer
 |date=7/13/2005
 |sl_time=10 AM
 |length=60 mins
 |location=Theaters
 |language=English
 |rsvp=by [mailto:nava.muni@yahoo.com email]
 |description=Bringing light to the Mac platform
 |}}
Hosted by: Nava Muni
Title: Mac Mentor Primer
Date: 13-Jul-2005 (Wednesday)
SL Time: 10 AM SLT
Length: 60 mins
Location: Theaters
Language: English
RSVP: by email
Description: Bringing light to the Mac platform

Mentor Primer}}&details={{#urlencode:Bringing light to the Mac platform}}&dates=20050713T100000Z/20050713T110000Z&sprop=coach:{{#urlencode:Nava Muni}}&sprop=website:Template:SLVEC_coaching&location={{#urlencode:Theaters}} +Google Calendar



{{SLVEC_coaching
 |coach=Nava Muni
 |title=Learning while you sleep
 |date=7/13/2005
 |sl_time=1 AM
 |length=2 hrs
 |location=Theaters
 |description=Do you think sleeping is for dreaming only?
 |notes=This is just a sample!
 |}}
Hosted by: Nava Muni
Title: Learning while you sleep
Date: 13-Jul-2005 (Wednesday)
SL Time: 1 AM SLT
Length: 2 hrs
Location: Theaters
Language: (assumed English)
RSVP: (none required)
Description: Do you think sleeping is for dreaming only?

Notes: This is just a sample!

while you sleep}}&details={{#urlencode:Do you think sleeping is for dreaming only?}}&dates=20050713T010000Z/20050713T010200Z&sprop=coach:{{#urlencode:Nava Muni}}&sprop=website:Template:SLVEC_coaching&location={{#urlencode:Theaters}} +Google Calendar



Coaching Template Links

These templates can be used to schedule classes: