Difference between revisions of "Template:YCal"
Jump to navigation
Jump to search
(missing "}") |
m |
||
Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[http://calendar.yahoo.com/?v=60&view=d&type=20&DUR={{padleft:{{#expr:{{#expr:{{#time:U|{{{date}}} {{{sltime}}} +{{{dur}}}}}-{{#time:U|{{{date}}} {{{sltime}}}}}}}/3600}}|2}}{{padleft:{{#expr:{{#expr:{{#time:U|{{{date}}} {{{sltime}}} +{{{dur}}}}}-{{#time:U|{{{date}}} {{{sltime}}}}}}} mod 60}}|2}}&TITLE={{#urlencode:{{{title|(no title)}}} {{#ifeq:{{{host|*}}}|*|| by {{{host}}}}}}}&ST={{#time:Ymd\THis|{{{date}}} {{{sltime}}} -4 hours}}&DESC={{#urlencode:{{{details}}}}}&URL={{#urlencode:{{{url|{{FULLPAGENAME}}}}}}}&in_loc={{#urlencode:{{{at}}}}} +Yahoo! Calendar]</span></includeonly> | <includeonly><span class="plainlinks">[http://calendar.yahoo.com/?v=60&view=d&type=20&DUR={{padleft:{{#expr:{{#expr:{{#time:U|{{{date}}} {{{sltime}}} +{{{dur}}}}}-{{#time:U|{{{date}}} {{{sltime}}}}}}}/3600}}|2}}{{padleft:{{#expr:{{#expr:{{#time:U|{{{date}}} {{{sltime}}} +{{{dur}}}}}-{{#time:U|{{{date}}} {{{sltime}}}}}}} mod 60}}|2}}&TITLE={{#urlencode:{{{title|(no title)}}} {{#ifeq:{{{host|*}}}|*|| by {{{host}}}}}}}&ST={{#time:Ymd\THis|{{{date}}} {{{sltime}}} -4 hours}}&DESC={{#urlencode:{{{details}}}}}&URL={{#urlencode:{{{url|{{fullurl:{{FULLPAGENAME}}}}}}}}}&in_loc={{#urlencode:{{{at}}}}} +Yahoo! Calendar]</span></includeonly> | ||
<noinclude> | <noinclude> |
Latest revision as of 08:58, 13 October 2008
{{YCal
|cal=
|title=
|details=
|url=
|date=
|sltime=
|dur=
|host=
|at=
|}}
NOTE: the follow parameters are optional
cal
url
Examples
{{YCal
|title=Group Meeting
|details=To discuss all kinds of things
|date=7/13/2008
|sltime=10 PM
|dur=60 min
|host=Nava Muni
|at=Nava's land
|}}