Difference between revisions of "Template:SLVEC coaching"

From Second Life Wiki
Jump to navigation Jump to search
(added language field)
(Undo revision 93668 by CallieDel Boa (Talk) - left comment at userpage)
 
(63 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style='border:dashed 1px; 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}}}|{{{coach}}}]]
  | [[User:{{{coach}}}|<span id='m2m_coach'>{{{coach}}}</span>]]
|-
| '''Title:'''
| ''{{{title}}}''
  |-
  |-
  | '''Date:'''
  | '''Date:'''
  | style='color:rgb(255,0,0)' | {{{date}}}
  | 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)' | {{{sl_time}}} SLT
  | style='color:rgb(255,0,0)' | <span id='m2m_sltime'>{{{sltime}}}</span> SLT
  |-
  |-
  | '''Length:'''
  | '''Length:'''
  | {{{length}}}
  | <span id='m2m_length'>{{{length}}}</span>
  |-
  |-
  | '''Location:'''
  | '''Location:'''
  | {{{location}}}
  | <span id='m2m_location'>{{{location}}}</span>
  |-
  |-
  | '''Language:'''
  | '''Language:'''
  | {{{language}}}
  | {{ #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:'''
  | {{{description}}}
  | <span id='m2m_desc'>{{{description}}}</span>
  |}
  |}
</div><br><noinclude>
{{ #if: {{{notes|}}} | <br><div style='border:dashed 1px;margin-left:1em;margin-right:1em;margin-bottom:0.5em;padding:0.25em'>'''Notes:''' ''{{{notes}}}''</div> |}}
    Explanation coming.
{{ #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>
This template was created to help standardize the layout/format of ''Upcoming Optional Classes'' session postings located on the [[Volunteer-sponsored_Classes]] page.<br>
<br>
== Usage ==
'''Minimum Requirements'''
 
<div style="font-size:140%"><code><pre><nowiki>{{SLVEC_coaching
|title=
|coach=
|date=
|sltime=
|length=
|location=
|language=
|rsvp=
|description=
|notes=
|webcal=
|}}</nowiki></pre></code></div>
 
<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>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>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>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==
<div style="font-size:140%"><code><pre><nowiki>{{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=*
|}}</nowiki></pre></code></div>
{{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=*
|}}
 
<div style="font-size:140%"><code><pre><nowiki>{{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!
|}}</nowiki></pre></code></div>
{{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!
|}}
 
{{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=*
 |}}


{{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: