Difference between revisions of "Template:Webcal"

From Second Life Wiki
Jump to navigation Jump to search
(body)
 
m (default values for optional parameters are to handled in subtemplate not at this level.)
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{GCal
<includeonly><div>
|title={{{title}}}
<div id="box" style="float:left;padding:0.1em 0.4em 0.3em 0.4em">{{GCal
|details={{{description}}}
| title   = {{{title}}}
|date={{{date}}}
| details = {{{details}}}
  |zulu={{#time:His|{{{sl_time}}} +8 hours}}
| date   = {{{date}}}
  |dur={{{length}}}
| sltime = {{{sltime}}}
|at={{{location}}}
| dur    = {{{dur}}}
|host={{{coach}}}
| host    = {{{host}}}
}}
| at      = {{{at}}}
{{YCal
|{{#if:{{{cal|}}}|cal={{{cal}}}}}
|title={{{title}}}
|{{#if:{{{url|}}}|url={{{url}}}}}
|details={{{description}}}
}}</div>
|date={{{date}}}
<div id="box" style="float:left;padding:0.1em 0.4em 0.3em 0.4em">{{YCal
  |zulu={{#time:His|{{{sl_time}}} +8 hours}}
| title  = {{{title}}}
|dur={{{length}}}
| details = {{{details}}}
|at={{{location}}}
| date    = {{{date}}}
  |host={{{coach}}}
| sltime = {{{sltime}}}
}}
| dur     = {{{dur}}}
| host    = {{{host}}}
| at     = {{{at}}}
|{{#if:{{{cal|}}}|cal={{{cal}}}}}
|{{#if:{{{url|}}}|url={{{url}}}}}
}}</div>
<div id="box" style="float:left;padding:0.1em 0.4em 0.3em 0.4em">{{ICSCal
| title   = {{{title}}}
| details = {{{details}}}
| date   = {{{date}}}
| sltime = {{{sltime}}}
| dur    = {{{dur}}}
| host    = {{{host}}}
| at      = {{{at}}}
|{{#if:{{{cal|}}}|cal={{{cal}}}}}
|{{#if:{{{url|}}}|url={{{url}}}}}
}}</div>
<div style="height:1px;clear:left">&nbsp;</div>
</div></includeonly>
 
<noinclude>
<div style="font-size:140%"><code><pre><nowiki>{{webcal
|cal=
|title=
|details=
|url=
|date=
|sltime=
|dur=
  |host=
|at=
|}}</nowiki></pre></code></div>
 
<div id="box" style="margin-left:20px;margin-right:20px;padding-left:4px">
''NOTE: the follow parameters are optional''
* <code>cal</code>
* <code>url</code>
</div>
 
== Examples ==
<div style="font-size:140%"><code><pre><nowiki>{{webcal
|title=Group Meeting
|details=To discuss all kinds of things
|date=7/13/2008
|sltime=10 PM
|dur=60 min
|host=Nava
|at=Nava's land
|}}</nowiki></pre></code></div>
{{webcal
|title=Group Meeting
|details=To discuss all kinds of things
|date=7/13/2008
|sltime=10 PM
|dur=60 min
|host=Nava
|at=Nava's land
|}}
</noinclude>

Latest revision as of 10:04, 13 October 2008