Zandbak/Event Calendar

Uit betapartners-infvo
< Zandbak
Versie door Eelco (overleg | bijdragen) op 6 sep 2019 om 10:23 (Nieuwe pagina aangemaakt met '{{Demo/Help|format=eventcalendar format|description=Example where events are being specified using subobjects}} == Standard (auto) height == <pre> {{#ask: [...')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Naar navigatie springen Naar zoeken springen

Example where events are being specified using subobjects

Standard (auto) height

{{#ask:
 [[Has event::+]]
 [[Has event start::+]]                    
 |?Has event=title
 |?Has event start
 |?Has event end                
 |?Has event description=description     
 |?Has event icon=icon              
 |?Has event color=color
 |?Has event location=location          
 |format=eventcalendar            
 |defaultview=month
 |start=earliest
 ..
}}

Reduced height

The min. height is internally set to 350px because any value below would generally cause a display distortion within the wiki page when the event calendar is used.

...
 |class=smw-eventcalendar
...

Note

Update

Automatic event updates depends on whether or not your user preferences has been set (anonymous users are not set for automatic updates). During a session, the refresh button can be used to reload results from the store.

Selection criteria

Demo results depend on parameters such as the start ("earliest, latest") and/or limit which might need adjustment using the query panel.

Properties

Please make sure that you have read the documentation and adopted the data model in order for data types corresponding with specified requirements. (For more information, see Property:Has event start).