| 15 | |
| 16 | Usage: |
| 17 | {{{ |
| 18 | [[WikiCalendar([year, [month, [show-buttons, [wiki-page-format]]]])]] |
| 19 | }}} |
| 20 | |
| 21 | Arguments: |
| 22 | 1. `year` (4-digit year) - defaults to `*` (current year) |
| 23 | 1. `month` (2-digit month) - defaults to `*` (current month) |
| 24 | 1. `show-buttons` (boolean) - defaults to `true` |
| 25 | 1. `wiki-page-format` (string) - defaults to `%Y-%m-%d` |
| 26 | |
| 27 | {{{ |
| 28 | [[WikiCalendar(2006,07)]] |
| 29 | [[WikiCalendar(2006,07,false)]] |
| 30 | [[WikiCalendar(*,*,true,Meeting-%Y-%m-%d)]] |
| 31 | [[WikiCalendar(2006,07,false,Meeting-%Y-%m-%d)]] |
| 32 | }}} |
| 33 | |
| 34 | Relative wiki paths are supported as well, which is especially relevant if you later change position of the wiki page containing the !WikiCalendarMacro relative to the stack of related wiki pages: |
| 35 | |
| 36 | {{{ |
| 37 | [[WikiCalendar(*,*,true,../Meeting/%Y-%m-%d)]] |
| 38 | }}} |
| 39 | |
| 40 | The calendar will be displayed as follows (border added for visibility): |
| 41 | |
| 42 | [[Image(20130421_wikicalendar_screenshot.gif, border=2)]] |
| 43 | |
| 44 | Screenshots using `[[WikiCalendar(w)]]` (for week numbers) with different browser locale settings. |
53 | | == Example |
54 | | |
55 | | Usage: |
56 | | {{{ |
57 | | [[WikiCalendar([year, [month, [show-buttons, [wiki-page-format]]]])]] |
58 | | }}} |
59 | | |
60 | | Arguments: |
61 | | 1. `year` (4-digit year) - defaults to `*` (current year) |
62 | | 1. `month` (2-digit month) - defaults to `*` (current month) |
63 | | 1. `show-buttons` (boolean) - defaults to `true` |
64 | | 1. `wiki-page-format` (string) - defaults to `%Y-%m-%d` |
65 | | |
66 | | {{{ |
67 | | [[WikiCalendar(2006,07)]] |
68 | | [[WikiCalendar(2006,07,false)]] |
69 | | [[WikiCalendar(*,*,true,Meeting-%Y-%m-%d)]] |
70 | | [[WikiCalendar(2006,07,false,Meeting-%Y-%m-%d)]] |
71 | | }}} |
72 | | |
73 | | Relative wiki paths are supported as well, which is especially relevant if you later change position of the wiki page containing the !WikiCalendarMacro relative to the stack of related wiki pages: |
74 | | |
75 | | {{{ |
76 | | [[WikiCalendar(*,*,true,../Meeting/%Y-%m-%d)]] |
77 | | }}} |
78 | | |
79 | | [[Image(20130421_wikicalendar_screenshot.gif)]] |
80 | | |
81 | | Screenshots using `[[WikiCalendar(w)]]` (for week numbers) with different browser locale settings. |
82 | | |
83 | | === About i18n/l10n support |
| 83 | == About i18n/l10n support |