Différences entre les versions de « Recurring events »
De Semantic MediaWiki - Sandbox
(chg) |
(chg) |
||
Ligne 58 : | Ligne 58 : | ||
In case the <code>format=eventcalendar</code> is available then the results will be as displayed as calendar otherwise a simple table is used. | In case the <code>format=eventcalendar</code> is available then the results will be as displayed as calendar otherwise a simple table is used. | ||
<pre> | <pre> | ||
− | {{#ask: [[Has page::Recurring events]] | + | {{#ask: |
+ | [[Has page::Recurring events]] | ||
|?Has text | |?Has text | ||
|?Has date | |?Has date | ||
Ligne 66 : | Ligne 67 : | ||
}} | }} | ||
</pre> | </pre> | ||
− | {{#ask: [[Has page::Recurring events]] | + | {{#ask: |
+ | [[Has page::Recurring events]] | ||
|?Has text | |?Has text | ||
|?Has date | |?Has date | ||
Ligne 74 : | Ligne 76 : | ||
}} | }} | ||
− | [[Category:Sample pages]] [[Category:Main Page sample pages]] [[Category:Semantic Result Formats example]] | + | [[Category:Sample pages]] |
+ | [[Category:Main Page sample pages]] | ||
+ | [[Category:Semantic Result Formats example]] |
Version du 17 janvier 2019 à 19:46
{{#set_recurring_event:some |property=has date |Has page=Recurring events |Has text=Simple recurring events text |start=June 8, 2010 |unit=day |period=1 |limit=10 |duration=7200 |include=March 16, 2010;March 23, 2010|+sep=; |exclude=March 15, 2010;March 22, 2010|+sep=; }}
Example query
{{#ask: [[Has page::Recurring events]] |?Has date |limit=5 |format=broadtable }}
Has date | |
---|---|
Recurring events | 17 août 2022 |
Recurring events | 6 juillet 2022 |
Recurring events | 23 mars 2013 |
Recurring events | 29 juin 2022 |
Recurring events | 3 août 2022 |
... autres résultats |
or
{{#ask: [[Has page::Recurring events]] |?Has date#ISO |limit=5 |format=broadtable }}
Has date | |
---|---|
Recurring events | 2022-08-17 |
Recurring events | 2022-07-06 |
Recurring events | 2013-03-23 |
Recurring events | 2022-06-29 |
Recurring events | 2022-08-03 |
... autres résultats |
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 }}