Difference between revisions of "Template:SLVEC coaching"

From Second Life Wiki
Jump to navigation Jump to search
(swapped ordering so title comes before coach)
(replaced calendar bit with webcal template)
Line 29: Line 29:
  | <span id='m2m_desc'>{{{description}}}</span>
  | <span id='m2m_desc'>{{{description}}}</span>
  |}
  |}
{{ #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> |}}
{{ #if: {{{webcal|}}} | [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}}} +{{{length}}}}}Z&sprop=coach:{{#urlencode:{{{coach}}}}}&sprop=website:{{FULLPAGENAMEE}}&location={{#urlencode:{{{location}}}}} +Google Calendar ] | }}
{{ #if: {{{webcal|}}} | {{webcal|title={{{title}}}|details={{{description}}}|date={{{date}}}|sltime={{{sltime}}}|dur={{{length}}}|host={{{coach}}}|at={{{location}}} |}}
</div></includeonly>
</div></includeonly>



Revision as of 19:07, 8 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
 |title=
 |coach=
 |date=
 |sl_time=
 |length=
 |location=
 |language=
 |rsvp=
 |description=
 |notes=
 |webcal=
 |}}

NOTE:

if language is missing, English is assumed
if rsvp is missing, none is assumed
notes is optional
specify * for webcal if you'd like a calendar URL to be automatically created. However, you must make sure that date, sl_time, and length are well formed.
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
 |title=Mac Mentor Primer
 |coach=Nava Muni
 |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
 |webcal=*
 |}}


{{SLVEC_coaching
 |title=Learning while you sleep
 |coach=Nava Muni
 |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!
 |}}


Coaching Template Links

These templates can be used to schedule classes: