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

August 2019
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
29
30
31
1
2
3
4
Vancouver 10:00 Wiknic meetup
5
6
London 17:06 WikiTuesday @ Western
Hamilton 11:00 Wiki Tuesday
7
8
9
10
11
12
13
Toronto 14:00 Wikipedia Edit-a-thon: Indigenous Language Speakers
14
Québec (ville) 09:00 L'histoire de Québec et de ses quartiers dans Wikipédia - Rendez-vous d’histoire de Québec
15
16
17
Montréal 13:30 BAnQ est fière
18
19
20
21
22
Toronto 13:30 Ryerson University Library Edit-a-thon
23
24
25
26
27
28
29
30
31
1
Display all the events as a list

{{Events calendar|display=list}}

August 2019

Sunday 04

Vancouver 10:00 Wiknic meetup
A get-together for local Wikimedians at the north end of Queen Elizabeth Park.

Tuesday 06

London 17:06 WikiTuesday @ Western
All are welcome to attend Wiki Tuesday @ Western, an informal gathering of folks who are interested in working collaboratively on Wikimedia projects. This is a drop-in event for Wiki editors of all skill levels.
Hamilton 11:00 Wiki Tuesday
Intro to Wikipedia (McMaster Libraries Staff)

Tuesday 13

Toronto 14:00 Wikipedia Edit-a-thon: Indigenous Language Speakers
This will be a Wikipedia Edit-A-Thon event focused on increasing and adding representation of Indigenous Language speakers in Wikipedia. These speakers will be from a list drawn up by staff at the University of Toronto Libraries and will focus on speakers from the University of Toronto, Toronto and Ontario, but please feel free to suggest other speakers from your communities, prominent language speakers and teachers.

Wednesday 14

Québec (ville) 09:00 L'histoire de Québec et de ses quartiers dans Wikipédia - Rendez-vous d’histoire de Québec
Atelier de contribution organisé dans le cadre des Rendez-vous d'histoire de Québec.

Saturday 17

Montréal 13:30 BAnQ est fière
Le 17 août 2019, contribuez à enrichir les informations sur la communauté de la diversité sexuelle et de genre dans Wikipédia !

Thursday 22

Toronto 13:30 Ryerson University Library Edit-a-thon
This is a Ryerson-wide event. All members of the Ryerson community are welcome, as are all levels of experience with Wikipedia - from novices to experienced users.

Display the events taking place in Montreal as a list

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

August 2019

Saturday 17

Montréal 13:30 BAnQ est fière
Le 17 août 2019, contribuez à enrichir les informations sur la communauté de la diversité sexuelle et de genre dans Wikipédia !

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

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

août 2019
lundi mardi mercredi jeudi vendredi samedi dimanche
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
Toronto 14:00 Wikipedia Edit-a-thon: Indigenous Language Speakers
14
15
16
17
Montréal 13:30 BAnQ est fière
18
19
20
21
22
Toronto 13:30 Ryerson University Library Edit-a-thon
23
24
25
26
27
28
29
30
31
1
Display the events taking place in Manawan, displaying the interface in Atikamekw language

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

Otatakon pisimw 2019
ockorkananiwon nicw kicikaw nicto kicikaw new kicikaw tcipaiatikw kicikaw mari kicikaw Manactakaniwon
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
31
1
Display the events taking place in Ontario

{{Events calendar|locations=Ontario}}

August 2019
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
29
30
31
1
2
3
4
5
6
London 17:06 WikiTuesday @ Western
Hamilton 11:00 Wiki Tuesday
7
8
9
10
11
12
13
Toronto 14:00 Wikipedia Edit-a-thon: Indigenous Language Speakers
14
15
16
17
18
19
20
21
22
Toronto 13:30 Ryerson University Library Edit-a-thon
23
24
25
26
27
28
29
30
31
1
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}}

August 2019
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
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
31
1

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.