Template:HCalendar event/rule

From Second Life Wiki
< Template:HCalendar event
Revision as of 08:43, 7 July 2010 by SignpostMarv Martin (talk | contribs) (attempting to implement a "readable" parameter)
Jump to navigation Jump to search

This template attempts to implement the RRULE and EXRULE elements as described in the hCalendar 1.1 draft specification.

  • The template defaults to behave as an RRULE via class="rrule". To alter the behaviour to an EXRULE, specify type=ex when using the template.

Examples

'It will be necessary to view the source code of this article to see the output.'
  • Weekly event: {{:User:SignpostMarv Martin/Sandbox/Template:hCalendar event/rule |freq=WEEKLY |interval=1 |byday=TU }}
  • Weekly event with human-readable text: {{:User:SignpostMarv Martin/Sandbox/Template:hCalendar event/rule |freq=WEEKLY |interval=1 |byday=TU |readable=every Tuesday }}