Difference between revisions of "Template:HCalendar event/rule"

From Second Life Wiki
Jump to navigation Jump to search
(Let's see if I made any typos....)
 
(adding example)
Line 2: Line 2:


* The template defaults to behave as an RRULE via class="rrule". To alter the behaviour to an EXRULE, specify <nowiki>type=ex</nowiki> when using the template.
* The template defaults to behave as an RRULE via class="rrule". To alter the behaviour to an EXRULE, specify <nowiki>type=ex</nowiki> when using the template.
== Examples ==
:'It will be necessary to view the source code of this article to see the output.'
* Weekly event: <nowiki>{{:User:SignpostMarv Martin/Sandbox/Template:hCalendar event/rule
|freq=WEEKLY
|interval=1
|byday=TU
}}</nowiki>{{:User:SignpostMarv Martin/Sandbox/Template:hCalendar event/rule
|freq=WEEKLY
|interval=1
|byday=TU
}}
</noinclude>
</noinclude>

Revision as of 08:40, 7 July 2010

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 }}