Template:Calendar

From FasciPedia
Jump to navigation Jump to search
January
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

[edit] [purge] Documentation

Description
It displays a calendar in a flat style.
Dependencies
  • The maandswitch template needs to be created first in order to make the calendar function. Copy the entire template and paste it in Template:Maandswitch in your wiki.
  • The following CSS:
/* Calendar (template from Noreplyz's Wiki) */
 
td.day-1:hover,
td.day-2:hover,
td.day-3:hover,
td.day-4:hover,
td.day-5:hover,
td.day-6:hover,
td.day-7:hover,
td.day-8:hover,
td.day-9:hover,
td.day-10:hover,
td.day-11:hover,
td.day-12:hover,
td.day-13:hover,
td.day-14:hover,
td.day-15:hover,
td.day-16:hover,
td.day-17:hover,
td.day-18:hover,
td.day-19:hover,
td.day-20:hover,
td.day-21:hover,
td.day-22:hover,
td.day-23:hover,
td.day-24:hover,
td.day-25:hover,
td.day-26:hover,
td.day-27:hover,
td.day-28:hover,
td.day-29:hover,
td.day-30:hover,
td.day-31:hover {
    transition: .3s;
    cursor: pointer;
    background-color: #ebebeb !important;
}
 
.maand-2 .day-31 *,
.maand-2 .day-30 *,
.maand-2 .day-29 *,
.maand-4 .day-31 *,
.maand-6 .day-31 *,
.maand-9 .day-31 *,
.maand-11 .day-31 * {
	visibility:hidden;
}
Syntax
N/A
Sample output
{{Calendar|January}} gives...
January
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