Difference between revisions of "Template:HCalendar event/Office Hours/default"

From Second Life Wiki
Jump to: navigation, search
m (Undo revision 267583 by Zai Lynch (Talk))
m (categorising template)
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
|man_hum_dtstart={{{weekday}}}s from {{#replace:{{#replace:{{{start}}}| PST|}}| PDT|}}
 
|man_hum_dtstart={{{weekday}}}s from {{#replace:{{#replace:{{{start}}}| PST|}}| PDT|}}
 
|man_hum_dtend={{{end}}}
 
|man_hum_dtend={{{end}}}
|dtstart=next {{{weekday}}} {{{start}}}
+
|dtstart={{#ifeq:{{CURRENTDAYNAME}}|{{{weekday}}}|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}|next {{{weekday}}}}} {{{start}}}
|dtend=next {{{weekday}}} {{{end}}}
+
|dtend={{#ifeq:{{CURRENTDAYNAME}}|{{{weekday}}}|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}|next {{{weekday}}}}} {{{end}}}
 
|summary_style={{{summary_style|display:none;}}}
 
|summary_style={{{summary_style|display:none;}}}
 
|description_style=display:block;font-style:italic;margin-bottom:0.5em;
 
|description_style=display:block;font-style:italic;margin-bottom:0.5em;
Line 47: Line 47:
 
|end=3pm PST
 
|end=3pm PST
 
|location=[http://slurl.com/secondlife/Portage/14/154/98/?title=Second%20Life%20Helper%27s%20Lyceum Second Life Helper's Lyceum]
 
|location=[http://slurl.com/secondlife/Portage/14/154/98/?title=Second%20Life%20Helper%27s%20Lyceum Second Life Helper's Lyceum]
}}</noinclude>
+
}}
 +
 
 +
[[Category:hCalendar Templates|Office Hours default]]
 +
</noinclude>

Latest revision as of 08:51, 7 July 2010

Example

{{hCalendar event/Office Hours/default
|Resident=Amber Linden
|description=Topics: General
|weekday=Monday
|start=9am PST
|end=10am PST
|location=[http://slurl.com/secondlife/Portage/14/154/98/?title=Second%20Life%20Helper%27s%20Lyceum Second Life Helper's Lyceum]
}}{{hCalendar event/Office Hours/default
|Resident=Amber Linden
|description=Topics: General
|weekday=Tuesday
|start=2pm PST
|end=3pm PST
|location=[http://slurl.com/secondlife/Portage/14/154/98/?title=Second%20Life%20Helper%27s%20Lyceum Second Life Helper's Lyceum]
}}
Topics: General Mondays from 9am to 10am PSTSecond Life Helper's Lyceum
Topics: General Tuesdays from 2pm to 3pm PSTSecond Life Helper's Lyceum