Difference between revisions of "Template:SLVEC coaching"
Jump to navigation
Jump to search
m (just took away some pipes |) |
(Undo revision 93668 by CallieDel Boa (Talk) - left comment at userpage) |
||
(42 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>]] | ||
|- | |- | ||
| '''Date:''' | | '''Date:''' | ||
| style='color:rgb(255,0,0)' | <span id='m2m_date'>{{ #time: d-M-Y (l | | style='color:rgb(255,0,0)' | <span id='m2m_date'>{{ #time: d-M-Y | {{{date}}} }}</span> (<span id='m2m_dow'>{{ #time: l | {{{date}}} }}</span>) | ||
|- | |- | ||
| '''SL Time:''' | | '''SL Time:''' | ||
| style='color:rgb(255,0,0)' | <span id='m2m_sltime'>{{{ | | style='color:rgb(255,0,0)' | <span id='m2m_sltime'>{{{sltime}}}</span> SLT | ||
|- | |- | ||
| '''Length:''' | | '''Length:''' | ||
Line 21: | Line 21: | ||
|- | |- | ||
| '''Language:''' | | '''Language:''' | ||
| {{ #if: {{{language|}}} | <span id='m2m_lang'>{{{language}}}</span> | <span style="color:#2f4f4f">(assumed <span id='m2m_lang'>English</span>)</span> }} | | {{ #if: {{{language|}}} | <span id='m2m_lang'>{{{language}}}</span> | <span style="color:#2f4f4f">''(assumed <span id='m2m_lang'>English</span>)''</span> }} | ||
|- | |||
| '''RSVP:''' | |||
| {{ #if: {{{rsvp|}}} | <span id='m2m_rsvp'>{{{rsvp}}}</span> | <span style="color:#2f4f4f">''(<span id='m2m_rsvp'>no</span>ne required)</span>'' }} | |||
|-style='vertical-align:top' | |-style='vertical-align:top' | ||
| '''Description:''' | | '''Description:''' | ||
| <span id='m2m_desc'>{{{description}}}</span> | | <span id='m2m_desc'>{{{description}}}</span> | ||
|} | |} | ||
{{ #if: {{{notes|}}} | <br><div style=' | {{ #if: {{{notes|}}} | <br><div style='border:dashed 1px;margin-left:1em;margin-right:1em;margin-bottom:0.5em;padding:0.25em'>'''Notes:''' ''{{{notes}}}''</div> |}} | ||
</div | {{ #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></includeonly> | |||
<noinclude> | <noinclude> | ||
Line 36: | 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= | ||
|date= | |date= | ||
| | |sltime= | ||
|length= | |length= | ||
|location= | |location= | ||
|language= | |language= | ||
|rsvp= | |||
|description= | |description= | ||
|notes= | |notes= | ||
|webcal= | |||
|}}</nowiki></pre></code></div> | |}}</nowiki></pre></code></div> | ||
<span style="font-style:italic;color:red">''NOTE:''</span> | <span style="font-style:italic;color:red">''NOTE:''</span> | ||
:<font color=red>if ''<tt><big>language</big></tt>'' is missing, <tt><big>English</big></tt> is assumed</font> | :<font color=red>if ''<tt><big>language</big></tt>'' is missing, <tt><big>English</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> | |||
You can transform a ''class announcement'' to a ''class cancellation'' simply by ... | |||
* changing the template name to <code>SLVEC_coaching_cancelled</code> | |||
* adding a <code>reason</code> field | |||
: All other fields can stay in-place. This allows for a quick/simple reversal of cancellation should that be appropriate. | |||
==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 | ||
|date=7/13/2005 | |date=7/13/2005 | ||
| | |sltime=10 AM | ||
|length=60 mins | |length=60 mins | ||
|location=Theaters | |location=Theaters | ||
|language=English | |language=English | ||
|description=Bringing light to the Mac | |rsvp=by [mailto:nava.muni@yahoo.com email] | ||
|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 | ||
|date=7/13/2005 | |date=7/13/2005 | ||
| | |sltime=10 AM | ||
|length=60 mins | |length=60 mins | ||
|location=Theaters | |location=Theaters | ||
|language=English | |language=English | ||
|description=Bringing light to the Mac | |rsvp=by [mailto:nava.muni@yahoo.com email] | ||
|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 | ||
|date=7/13/2005 | |date=7/13/2005 | ||
| | |sltime=1 AM | ||
|length=2 hrs | |length=2 hrs | ||
|location=Theaters | |location=Theaters | ||
Line 85: | 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 | ||
|date=7/13/2005 | |date=7/13/2005 | ||
| | |sltime=1 AM | ||
|length=2 hrs | |length=2 hrs | ||
|location=Theaters | |location=Theaters | ||
Line 95: | Line 113: | ||
|}} | |}} | ||
{{Coaching_Template_Links}} | |||
</noinclude> | </noinclude> |
Latest revision as of 11: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=*
|}}
Title: | Mac Mentor Primer |
Hosted by: | Nava Muni |
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
|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: