Jump to content

Template:Cronos list

From Meta, a Wikimedia project coordination wiki
Template documentation

This is the {{Cronos list}} template that automagically generates a list of events.

You can try also the {{Cronos month}} that is very similar but with different rendering.

About[edit]

Cronos is a really accessible calendar for MediaWiki. It's wiki-based. It's simple. It works even with JavaScript disabled.

You can customize this calendar for various reasons. For example, you can have it in your user page.

Usage[edit]

Basic usage, default calendar with approximately 30 days:

{{Cronos list}}

Here the default look:

When Event Where Category
05/06/2024 09:00 Edit Café Wikidata Europe, France, Auvergne-Rhône-Alpes and Clermont-Ferrand Event Event
06/06/2024 13:30 Edit Journée des Fiertés à l'EHESS Europe, France and Île-de-France Event Event
08/06/2024 14:00 Edit Atelier de contribution au mus… Europe, France, Centre-Val de Loire and Orléans Event Event
09/06/2024 14:00 Edit London meetup Europe, United Kingdom and London Event Event
10/06/2024 17:00 Edit Starthèse Bretagne Europe, France, Brittany and Rennes Event Event
11/06/2024 17:00 Edit Starthèse Bretagne Europe, France, Brittany and Rennes Event Event
13/06/2024 14:00 Edit Atelier de contribution à Wiki… Europe, France, Grand Est and Strasbourg Event Event
13/06/2024 18:30 Edit Bay Area Wikipedians meetup North America, United States and San Francisco Event Event
18/06/2024 09:30 Edit Atelier wiki autour de l'expos… Europe, France, Grand Est and Nancy Event Event
20/06/2024 18:30 Edit Wikimédia à la Turbine − Ouver… Europe, France, Auvergne-Rhône-Alpes and Grenoble Event Event
22/06/2024 14:00 Edit Atelier Wikimédia Europe, France, Brittany and Rennes Event Event
27/06/2024 16:00 Edit Plénière de clôture : Séminair… Europe, France, Île-de-France and Paris Event Event
28/06/2024 08:30 Edit State of the Map France 2024 Europe, France, Auvergne-Rhône-Alpes and Lyon Event Event
28/06/2024 14:00 Edit Lexicodays 2024 Online Event Event
29/06/2024 08:30 Edit State of the Map France 2024 Europe, France, Auvergne-Rhône-Alpes and Lyon Event Event
29/06/2024 14:00 Edit Lexicodays 2024 Online Event Event
29/06/2024 14:00 Edit Permanence brestoise Europe, France, Brittany and Brest Event Event
30/06/2024 08:30 Edit State of the Map France 2024 Europe, France, Auvergne-Rhône-Alpes and Lyon Event Event
30/06/2024 14:00 Edit Lexicodays 2024 Online Event Event

Add Event!

In the following sections all the available options.

Personalization[edit]

You can change the text of the blue Add Event! button with:

{{Cronos list|add_button_text = Add Meeting! }}

You can even hide it with:

{{Cronos list|add_button = no }}

Filter by interests[edit]

You can choose to display just the events under your interests using the tags argument.

For example, to only show announces about an hackathon or a meetup, you may try:

{{Cronos list|tags = hackathon, meetup }}

If you cannot see anything, maybe there is not any Event associated to that Tag.

It's up to the Event creators to be kind and always put some useful tags to their Event.

Anyway, everyone can contribute to the Event page to add some reasonable Tags.

Next/Previous month[edit]

You can display future or past months using the month_shift argument.

Examples:

{{Cronos list|month_shift = -1 }}
{{Cronos list|month_shift =  1 }}

Monday/Sunday preference[edit]

As default the calendar starts from Monday, but you may want to disable this behavior to start from Sunday.

Example:

{{Cronos list|start_from_monday = 1 }}
{{Cronos list|start_from_monday = 0 }}

Show more days[edit]

You can change how much days (expressed in number of weeks) are displayed in the calendar.

For example:

{{Cronos list|weeks = 10 }}

Please be kind with the environment and do not try to request too much days. A low number will mean that the page generation will be very cheap.

Style[edit]

Actually the style is handled by Template:Cronos month/Head/style.css.

See also[edit]