Différences entre les versions de « Recurring events »

De Semantic MediaWiki - Sandbox

Ligne 5 : Ligne 5 :
 
  |Has page=Recurring events
 
  |Has page=Recurring events
 
  |Has text=Simple recurring events text
 
  |Has text=Simple recurring events text
  |start=June 8, 2010                                      
+
  |start=June 8, 2022                                      
 
  |unit=week                             
 
  |unit=week                             
 
  |period=1             
 
  |period=1             
 
  |limit=10       
 
  |limit=10       
 
  |duration=7200
 
  |duration=7200
  |include=March 16, 2010;March 23, 2010|+sep=;
+
  |include=March 16, 2012;March 23, 2023|+sep=;
  |exclude=March 15, 2010;March 22, 2010|+sep=;
+
  |exclude=March 15, 2012;March 22, 2023|+sep=;
 
}}
 
}}
 
</pre>
 
</pre>
Ligne 18 : Ligne 18 :
 
  |Has page=Recurring events
 
  |Has page=Recurring events
 
  |Has text=Simple recurring events text
 
  |Has text=Simple recurring events text
  |start=June 8, 2010                                      
+
  |start=June 8, 2022                                      
 
  |unit=week                             
 
  |unit=week                             
 
  |period=1             
 
  |period=1             
 
  |limit=10       
 
  |limit=10       
 
  |duration=7200
 
  |duration=7200
  |include=March 16, 2010;March 23, 2010|+sep=;
+
  |include=March 16, 2012;March 23, 2013|+sep=;
  |exclude=March 15, 2010;March 22, 2010|+sep=;
+
  |exclude=March 15, 2012;March 22, 2013|+sep=;
 
}}
 
}}
  

Version du 27 mars 2023 à 07:48

Example data[modifier | modifier le wikicode]

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


Example query[modifier | modifier le wikicode]

broadtable[modifier | modifier le wikicode]

{{#ask:
[[Has page::Recurring events]]
 |?Has date
 |limit=5
 |format=broadtable
}}
 Has date
Recurring events17 août 2022
Recurring events6 juillet 2022
Recurring events23 mars 2013
Recurring events29 juin 2022
Recurring events3 août 2022
... autres résultats

or

{{#ask:
[[Has page::Recurring events]]
 |?Has date#ISO
 |limit=5
 |format=broadtable
}}
 Has date
Recurring events2022-08-17
Recurring events2022-07-06
Recurring events2013-03-23
Recurring events2022-06-29
Recurring events2022-08-03
... autres résultats

eventcalendar[modifier | modifier le wikicode]

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

iCalendar[modifier | modifier le wikicode]

Export for iCalendar

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.