Difference between revisions of "Template:Webcal"
Jump to navigation
Jump to search
(redid to use new GCal & YCal templates) |
m (default values for optional parameters are to handled in subtemplate not at this level.) |
||
(12 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{GCal | <includeonly><div> | ||
<div id="box" style="float:left;padding:0.1em 0.4em 0.3em 0.4em">{{GCal | |||
| title = {{{title}}} | |||
| details = {{{details}}} | |||
| date = {{{date}}} | |||
| sltime = {{{sltime}}} | |||
| dur = {{{dur}}} | |||
| host = {{{host}}} | |||
}}{{YCal | | at = {{{at}}} | ||
|title={{{title}}} | |{{#if:{{{cal|}}}|cal={{{cal}}}}} | ||
|{{#if:{{{url|}}}|url={{{url}}}}} | |||
}}</div> | |||
<div id="box" style="float:left;padding:0.1em 0.4em 0.3em 0.4em">{{YCal | |||
| title = {{{title}}} | |||
| details = {{{details}}} | |||
| date = {{{date}}} | |||
}} | | sltime = {{{sltime}}} | ||
</includeonly> | | 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"> </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> | ||
<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 09:04, 13 October 2008
{{webcal
|cal=
|title=
|details=
|url=
|date=
|sltime=
|dur=
|host=
|at=
|}}
NOTE: the follow parameters are optional
cal
url
Examples
{{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
|}}