Difference between revisions of "Template:Webcal"

From Second Life Wiki
Jump to navigation Jump to search
(place into a block)
m (default values for optional parameters are to handled in subtemplate not at this level.)
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><div>{{GCal
<includeonly><div>
|title={{{title}}}
<div id="box" style="float:left;padding:0.1em 0.4em 0.3em 0.4em">{{GCal
|details={{{details}}}
| title   = {{{title}}}
|date={{{date}}}
| details = {{{details}}}
|sltime={{{sltime}}}
| date   = {{{date}}}
|dur={{{dur}}}
| sltime = {{{sltime}}}
|host={{{host}}}
| dur     = {{{dur}}}
|at={{{at}}}
| host   = {{{host}}}
}}{{YCal
| at     = {{{at}}}
  |title={{{title}}}
|{{#if:{{{cal|}}}|cal={{{cal}}}}}
|details={{{details}}}
|{{#if:{{{url|}}}|url={{{url}}}}}
|date={{{date}}}
}}</div>
|sltime={{{sltime}}}
<div id="box" style="float:left;padding:0.1em 0.4em 0.3em 0.4em">{{YCal
|dur={{{dur}}}
| title  = {{{title}}}
|host={{{host}}}
| details = {{{details}}}
|at={{{at}}}
| date    = {{{date}}}
}}</div></includeonly>
| 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>
<noinclude>
<div style="font-size:140%"><code><pre><nowiki>{{webcal
<div style="font-size:140%"><code><pre><nowiki>{{webcal
|cal=
  |title=
  |title=
  |details=
  |details=
|url=
  |date=
  |date=
  |sltime=
  |sltime=
  |dur=
  |dur=
  |host
  |host=
  |at=
  |at=
  |}}</nowiki></pre></code></div>
  |}}</nowiki></pre></code></div>


Example:
<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
<div style="font-size:140%"><code><pre><nowiki>{{webcal
  |title=Group Meeting
  |title=Group Meeting

Latest revision as of 10:04, 13 October 2008