Template:Calendar/doc
This is a documentation subpage for Template:Calendar. It contains usage information, categories and other content or metadata that is not part of the original template. |
The above calendar box appears on the Main Page and Current events.
On 2020-12-18 the calendar has been replaced (as announced) with osmcal. Please add all events to OpenStreetMap Calendar, they will appear here soon afterwards, as well as on some other sites in the OSM universe.
How to update the calendar
To add a new event to the calendar, go to OSMCal, grant OSMCal access to your OpenStreetMap account, and add an event.
Usage
{{Calendar|country=ISO 3166 code|language=BCP 47 code}}
By default, the calendar displays all upcoming events, regardless of location, with dates formatted in the current page's language (as determined by {{Langcode}}). To limit the events to a particular country, set the |country = parameter. To format dates in a different language, set the |language = parameter.
Inserts a table of upcoming events related to OpenStreetMap.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Country | country | Limits the events to a single country based on an ISO 3166 code.
| String | optional |
Language | language | Formats dates based on a BCP 47 code (such as an ISO 639 code).
| Unknown | optional |