Difference between revisions of "Template:Webcal"
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> | ||
<div id="box" style="float:left;padding:0.1em 0.4em 0.3em 0.4em">{{GCal | |||
| title = {{{title}}} | |||
| details = {{{details}}} | |||
| | | date = {{{date}}} | ||
|dur={{{ | | 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">{{YCal | |||
| | | title = {{{title}}} | ||
| details = {{{details}}} | |||
| date = {{{date}}} | |||
|host={{ | | 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"> </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
{{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
|}}