Template:Events calendar

From Wikimedia Canada
Jump to navigation Jump to search

This template displays a calendar containing all or a set of events of the common calendar.

Unlock advanced features[edit]

The calendar of events is visible publicly, connected or not. To unlock advanced features, navigate between months, filter and manage events (add, edit, or delete events), you will need to copy-paste these two lines into your common.js page:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:0x010C/Events-calendar-editor.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:0x010C/Events-calendar-navigation.js&action=raw&ctype=text/javascript');

Import into your calendar[edit]

You can easily import the Wikimedia Canada calendar into your personal calendar (Framagenda, Outlook, Google Calendar, etc.) and it will update in real time. Copy and paste this webcal link into your personal calendar settings: : https://ca.wikimedia.org/wiki/Main_Page/Calendar?action=raw&templates=expand

Tags[edit]

This calendar uses labels to categorize events: cities, projects, and so on.

This list of labels is editable on this page: Events calendar/parameters.json.

Stockage des événements[edit]

The entries made in the calendar are stored on this page: Events calendar/events.json.

Usage[edit]

This centralized calendar[1] can be displayed on several pages of this wiki, and present itself in several ways. For example, on the home page it is in calendar format, and on the WikiClub page of Montreal comes in list format. It is also possible to filter by labels[2].

Parameters[edit]

{{Events calendar
 | month      = Number of the month to display (default value: Current month's number)
 | year       = Year to display (default value: Current year)
 | display    = Display mode to be used: either grid, list or map (défault value: grid)
 | tags       = Display only events tagged with at least one of the given comma-separated tags
 | locations  = Display only events taking place in a location of the given comma-separated locations name
 | lang       = Lang-code in which to display the interface of the calendar (default value: en)
}}

Exemples[edit]

Display all events

{{Events calendar}}

June 2020
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
1
Online 00:00 #1lib1ref
Online 14:00 CANCELLED #1Lib1Ref Coffee Hour
2
Montréal 18:30 ANNULÉ Grande Bibliothèque - Mardi, c'est Wiki !
Online 00:00 #1lib1ref
3
Online 00:00 #1lib1ref
4
Online 00:00 #1lib1ref
5
Online 00:00 #1lib1ref
6
7
8
9
10
11
12
13
Montréal 13:00 ANNULÉ Cinémathèque québécoise - Atelier wiki sur Main Film
14
15
16
17
18
19
20
21
22
23
Online 11:00 Indigenizing Wikipedia
24
25
26
27
28
29
30
1
Hamilton 14:00 #1Lib1Ref Coffee Hour
2
3
4
5
Display all the events as a list

{{Events calendar|display=list}}

June 2020

Monday 01

Online 00:00 #1lib1ref
Imagine a World where Every Librarian Added One More Reference to Wikipedia.
Online 14:00 CANCELLED #1Lib1Ref Coffee Hour
All library workers welcome to add at least one citation to a health or medical article.

Tuesday 02

Montréal 18:30 ANNULÉ Grande Bibliothèque - Mardi, c'est Wiki !
Les ateliers Mardi, c'est Wiki ! sont gratuits et ouverts à tous. Cette activité collaborative visent à améliorer le contenu francophone de Wikipédia, à augmenter le nombre de contributeurs québécois et à mieux faire connaître le Québec, la Nouvelle-France, le Canada français ou, plus largement, l’Amérique française.
Online 00:00 #1lib1ref
Imagine a World where Every Librarian Added One More Reference to Wikipedia.

Wednesday 03

Online 00:00 #1lib1ref
Imagine a World where Every Librarian Added One More Reference to Wikipedia.

Thursday 04

Online 00:00 #1lib1ref
Imagine a World where Every Librarian Added One More Reference to Wikipedia.

Friday 05

Online 00:00 #1lib1ref
Imagine a World where Every Librarian Added One More Reference to Wikipedia.

Saturday 13

Montréal 13:00 ANNULÉ Cinémathèque québécoise - Atelier wiki sur Main Film

Tuesday 23

Online 11:00 Indigenizing Wikipedia
Online event via Zoom (register to join). Learn about how to close knowledge gaps and make content more meaningful in a collective effort to lift voices, raise knowledge and improve representation.

Display the events taking place in Montreal as a list

{{Events calendar|locations=Montréal|display=list}}

June 2020

Tuesday 02

Montréal 18:30 ANNULÉ Grande Bibliothèque - Mardi, c'est Wiki !
Les ateliers Mardi, c'est Wiki ! sont gratuits et ouverts à tous. Cette activité collaborative visent à améliorer le contenu francophone de Wikipédia, à augmenter le nombre de contributeurs québécois et à mieux faire connaître le Québec, la Nouvelle-France, le Canada français ou, plus largement, l’Amérique française.

Saturday 13

Montréal 13:00 ANNULÉ Cinémathèque québécoise - Atelier wiki sur Main Film

Display the events taking place in Montréal and Toronto, displaying the interface in French

{{Events calendar|locations=Montréal,Toronto|lang=fr}}

juin 2020
lundi mardi mercredi jeudi vendredi samedi dimanche
1
2
Montréal 18:30 ANNULÉ Grande Bibliothèque - Mardi, c'est Wiki !
3
4
5
6
7
8
9
10
11
12
13
Montréal 13:00 ANNULÉ Cinémathèque québécoise - Atelier wiki sur Main Film
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
Display the events taking place in Manawan, displaying the interface in Atikamekw language

{{Events calendar|locations=Manawan|lang=atj}}

Otehimin pisimw 2020
ockorkananiwon nicw kicikaw nicto kicikaw new kicikaw tcipaiatikw kicikaw mari kicikaw Manactakaniwon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
Display the events taking place in Ontario

{{Events calendar|locations=Ontario}}

June 2020
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
Hamilton 14:00 #1Lib1Ref Coffee Hour
2
3
4
5
Display the events taking place in August 2017

{{Events calendar|month=8|year=2017}}

August 2017
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
31
1
Montréal 18:30 Mardi, c'est Wiki à BAnQ
2
3
4
5
6
7
8
9
Montréal 18:30 Wikimania Montréal 2019
10
Montréal 18:30 Wikimania Montréal 2019
11
Montréal 18:30 Wikimania Montréal 2019
12
Montréal 18:30 Wikimania Montréal 2019
13
Montréal 18:30 Wikimania Montréal 2019
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
Display the events related to Wikidata

{{Events calendar|tags=Wikidata}}

June 2020
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5

Notes[edit]

  1. Events are central and are stored on Events calendar/events.json page.
  2. Labels are editable on the Events calendar/parameters.json page.