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

November 2020
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
26
27
28
Online 12:00 La Grande Wikiphonie - Quatrième séance-midi : Remue-méninges
29
Online 16:00 Atelier Wiki X arts actuels VI
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Online 11:00 Wikipedia Speaker Series: Information activism on Wikipedia
20
21
22
23
24
25
26
Online 16:00 Atelier Wiki X arts actuels VII
27
Online 12:00 Formation à l'édition dans Wikipédia (payant)
28
29
30
1
2
3
4
5
6
Display all the events as a list

{{Events calendar|display=list}}

November 2020

Thursday 19

Online 11:00 Wikipedia Speaker Series: Information activism on Wikipedia
Online presentation part of the Diving Deeper into Wikipedia Speaker Series

Thursday 26

Online 16:00 Atelier Wiki X arts actuels VII
Atelier en ligne organisé par le Réseau Art Actuel, le Conseil québécois des arts médiatiques et Artexte.

Friday 27

Online 12:00 Formation à l'édition dans Wikipédia (payant)
Atelier en ligne organisé par l'Acfas.

Display the events taking place in Montreal as a list

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

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

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

novembre 2020
lundi mardi mercredi jeudi vendredi samedi dimanche
26
27
28
29
30
31
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
6
Display the events taking place in Manawan, displaying the interface in Atikamekw language

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

Atikamekw pisimw 2020
ockorkananiwon nicw kicikaw nicto kicikaw new kicikaw tcipaiatikw kicikaw mari kicikaw Manactakaniwon
26
27
28
29
30
31
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
6
Display the events taking place in Ontario

{{Events calendar|locations=Ontario}}

November 2020
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
26
27
28
29
30
31
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
6
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}}

November 2020
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
26
27
28
29
30
31
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
6

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.