Template:Events calendar/doc

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

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

Usage[edit]

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

July 2019
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
1
2
3
4
Lyon 18:00 Permanence Wiktionnaire au KoToPo
5
6
Montpellier 10:00 Les archiwikis Femmes
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Paris Cléry 09:00 hackathon
28
Paris Cléry 09:00 hackathon
29
30
31
1
2
3
4
Display all the events as a list

{{Events calendar|display=list}}

July 2019

Thursday 04

Lyon 18:00 Permanence Wiktionnaire au KoToPo
Permanence à Lyon des contributeurs et contributrices du Wiktionnaire

Saturday 06

Montpellier 10:00 Les archiwikis Femmes

Saturday 27

Paris Cléry 09:00 hackathon

Sunday 28

Paris Cléry 09:00 hackathon

Display all the events as a map (Feature not available)

{{Events calendar|display=map}}

July 2019
Display the events taking place in Paris or Sevran, displaying the interface in french

{{Events calendar|locations=Paris,Sevran|lang=fr}}

juillet 2019
lundi mardi mercredi jeudi vendredi samedi dimanche
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
2
3
4
Display the events taking place in April 2017

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

April 2017
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
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
Display the events related to Wikidata

{{Events calendar|tags=Wikidata}}

July 2019
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
31
1
2
3
4