Difference between revisions of "Template:SLVEC coaching"

From Second Life Wiki
Jump to navigation Jump to search
(added Google calendar tie-in, #5)
(Undo revision 93668 by CallieDel Boa (Talk) - left comment at userpage)
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div id='m2m_class' style='border:dashed 2px; padding:8px'>
<includeonly><div id='m2m_class' style='border:dashed 2px; padding:8px'>
{|
{|
|-
| <span id='m2m_anchor'><span id='{{anchorencode:{{{title}}}{{{date}}}{{{sltime}}}}}'>'''Title:'''</span></span>
| ''<span id='m2m_title'>{{{title}}}</span>''
  |-
  |-
  | '''Hosted by:'''
  | '''Hosted by:'''
  | [[User:{{{coach}}}|<span id='m2m_coach'>{{{coach}}}</span>]]
  | [[User:{{{coach}}}|<span id='m2m_coach'>{{{coach}}}</span>]]
|-
| '''Title:'''
| ''<span id='m2m_title'>{{{title}}}</span>''
  |-
  |-
  | '''Date:'''
  | '''Date:'''
Line 12: Line 12:
  |-
  |-
  | '''SL Time:'''
  | '''SL Time:'''
  | style='color:rgb(255,0,0)' | <span id='m2m_sltime'>{{{sl_time}}}</span> SLT
  | style='color:rgb(255,0,0)' | <span id='m2m_sltime'>{{{sltime}}}</span> SLT
  |-
  |-
  | '''Length:'''
  | '''Length:'''
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='border:dashed 1px;margin-left:1em;margin-right:1em;margin-bottom:0.5em;padding:0.25em'>'''Notes:''' ''{{{notes}}}''</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] ]
{{ #if: {{{webcal|}}} | <div style="margin-top:0.5em;margin-left:1em">{{webcal|title={{{title}}}|details={{{description}}}|date={{{date}}}|sltime={{{sltime}}}|dur={{{length}}}|host={{{coach}}}|at={{{location}}}}}</div> |}}
</div><br></includeonly>
</div></includeonly>


<noinclude>
<noinclude>
Line 40: Line 40:


<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_coaching
<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_coaching
|title=
  |coach=
  |coach=
|title=
  |date=
  |date=
  |sl_time=
  |sltime=
  |length=
  |length=
  |location=
  |location=
Line 50: Line 50:
  |description=
  |description=
  |notes=
  |notes=
|webcal=
  |}}</nowiki></pre></code></div>
  |}}</nowiki></pre></code></div>


Line 56: Line 57:
:<font color=red>if ''<tt><big>rsvp</big></tt>'' is missing, <tt><big>none</big></tt> is assumed</font>
:<font color=red>if ''<tt><big>rsvp</big></tt>'' is missing, <tt><big>none</big></tt> is assumed</font>
:<font color=red>''<tt><big>notes</big></tt>'' is optional</font>
:<font color=red>''<tt><big>notes</big></tt>'' is optional</font>
:<font color=red>specify ''<tt><big>*</big></tt>'' for ''<tt><big>webcal</big></tt>'' if you'd like a calendar URL to be automatically created. However, you must make sure that ''<tt><big>date</big></tt>'', ''<tt><big>sltime</big></tt>'', and ''<tt><big>length</big></tt>'' are well formed.</font>
:<font color=red>All other fields required</font>
:<font color=red>All other fields required</font>
<font color=red>If you wish no ''RSVP'', please '''exclude''' the ''<tt><big>rsvp</big></tt>'' template parameter.</font>
<font color=red>If you wish no ''RSVP'', please '''exclude''' the ''<tt><big>rsvp</big></tt>'' template parameter.</font>
Line 66: Line 68:
==Examples==
==Examples==
<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_coaching
<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_coaching
|title=Mac Mentor Primer
  |coach=Nava Muni
  |coach=Nava Muni
|title=Mac Mentor Primer
  |date=7/13/2005
  |date=7/13/2005
  |sl_time=10 AM
  |sltime=10 AM
  |length=60 mins
  |length=60 mins
  |location=Theaters
  |location=Theaters
Line 75: Line 77:
  |rsvp=by [mailto:nava.muni@yahoo.com email]
  |rsvp=by [mailto:nava.muni@yahoo.com email]
  |description=Bringing light to the Mac platform
  |description=Bringing light to the Mac platform
|webcal=*
  |}}</nowiki></pre></code></div>
  |}}</nowiki></pre></code></div>
{{SLVEC_coaching
{{SLVEC_coaching
|title=Mac Mentor Primer
  |coach=Nava Muni
  |coach=Nava Muni
|title=Mac Mentor Primer
  |date=7/13/2005
  |date=7/13/2005
  |sl_time=10 AM
  |sltime=10 AM
  |length=60 mins
  |length=60 mins
  |location=Theaters
  |location=Theaters
Line 86: Line 89:
  |rsvp=by [mailto:nava.muni@yahoo.com email]
  |rsvp=by [mailto:nava.muni@yahoo.com email]
  |description=Bringing light to the Mac platform
  |description=Bringing light to the Mac platform
|webcal=*
  |}}
  |}}


<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_coaching
<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_coaching
|title=Learning while you sleep
  |coach=Nava Muni
  |coach=Nava Muni
|title=Learning while you sleep
  |date=7/13/2005
  |date=7/13/2005
  |sl_time=1 AM
  |sltime=1 AM
  |length=2 hrs
  |length=2 hrs
  |location=Theaters
  |location=Theaters
Line 99: Line 103:
  |}}</nowiki></pre></code></div>
  |}}</nowiki></pre></code></div>
{{SLVEC_coaching
{{SLVEC_coaching
|title=Learning while you sleep
  |coach=Nava Muni
  |coach=Nava Muni
|title=Learning while you sleep
  |date=7/13/2005
  |date=7/13/2005
  |sl_time=1 AM
  |sltime=1 AM
  |length=2 hrs
  |length=2 hrs
  |location=Theaters
  |location=Theaters

Latest revision as of 12:33, 29 September 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=
 |sltime=
 |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, sltime, 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
 |sltime=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
 |sltime=1 AM
 |length=2 hrs
 |location=Theaters
 |description=Do you think sleeping is for dreaming only?
 |notes=This is just a sample!
 |}}
Title: Learning while you sleep
Hosted by: Nava Muni
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!


Coaching Template Links

These templates can be used to schedule classes: