Difference between revisions of "Template:SLVEC coaching"
Jump to navigation
Jump to search
(added Google calendar tie-in, #7) |
(added Google calendar tie-in, #8) |
||
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}}}| | [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|1}} | 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 14:59, 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 |
{{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: