Recurring events

From Semantic MediaWiki - Sandbox

Example data[edit | edit source]

{{#set_recurring_event:some            
 |property=has date          
 |Has page=Recurring events
 |Has text=Simple recurring events text
 |start=June 8, 2010                                     
 |unit=week                             
 |period=1             
 |limit=10      
 |duration=7200
 |include=March 16, 2010;March 23, 2010|+sep=;
 |exclude=March 15, 2010;March 22, 2010|+sep=;
}}


Example query[edit | edit source]

broadtable[edit | edit source]

{{#ask:
[[Has page::Recurring events]]
 |?Has date
 |limit=5
 |format=broadtable
}}
 Has dateUsed for data values that represent points in time.
Recurring events3 août 2010
Recurring events13 juillet 2010
Recurring events22 juin 2010
Recurring events8 juin 2010
Recurring events29 juin 2010
... further results

or

{{#ask:
[[Has page::Recurring events]]
 |?Has date#ISO
 |limit=5
 |format=broadtable
}}
 Has dateUsed for data values that represent points in time.
Recurring events2010-08-03
Recurring events2010-07-13
Recurring events2010-06-22
Recurring events2010-06-08
Recurring events2010-06-29
... further results

eventcalendar[edit | edit source]

In case the format=eventcalendar is available then the results will be as displayed as calendar otherwise a simple table is used.

{{#ask:
[[Has page::Recurring events]]
 |?Has text
 |?Has date
 |limit=5
 |format=eventcalendar
 |start=latest
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.