Difference between revisions of "Template:SLVEC coaching"
Jump to navigation
Jump to search
(added Google calendar tie-in, #9) |
(added toggled for Google web link) |
||
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}}} +{{{length}}}}}Z&sprop=coach:{{#urlencode:{{{coach}}}}}&sprop=website:{{FULLPAGENAMEE}}&location={{#urlencode:{{{location}}}}} +Google Calendar ] | {{ #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 ] | }} | ||
</div><br></includeonly> | </div><br></includeonly> | ||
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>sl_time</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 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 | ||
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=* | |||
|}} | |}} | ||
Revision as of 18:32, 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=
|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
|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
|webcal=*
|}}
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 |
{{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!
Coaching Template Links
These templates can be used to schedule classes: