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

From Second Life Wiki
Jump to: navigation, search
(testing wiki-fu)
m (categorising template)
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|dtstart={{{dtstart|}}}
 
|dtstart={{{dtstart|}}}
 
|dtend={{{dtend|}}}
 
|dtend={{{dtend|}}}
|summary={{{summary|[[User:{{{Resident}}}|{{{Resident}}}]]}}}
+
|summary={{{summary|[[{{{namespace|User}}}:{{{Resident}}}|{{{Resident}}}]]}}}
 
|description={{{description|}}}
 
|description={{{description|}}}
  
 
|location={{{location|}}}
 
|location={{{location|}}}
|dtstart_format={{Day name escaped|{{{weekday}}}}}\s \f\r\o\m {{escape11|{{#replace:{{#replace:{{{start}}}| PST|}}| PDT|}}}}
+
|man_hum_dtstart={{{weekday}}}s from {{#replace:{{#replace:{{{start}}}| PST|}}| PDT|}}
|dtend_format={{escape11|{{#replace:{{#replace:{{{end}}}|PST|SLT}}|PDT|SLT}}}}
+
|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 48: Line 48:
 
|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]
 
}}
 
}}
 +
 +
[[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