Template:Calendar/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

The above calendar box appears on the Main Page and Current events. Additionally, the OSMBC Calendar Parser scrapes the generated HTML code for inclusion in weeklyOSM.

{{Calendar2}} contains the framing, background colors, etc., while this template contains the dates and events. When this calendar appears on translations of Main Page, {{Event date}} automatically translates dates to the appropriate language.

How to update the calendar

This template consists of a single table ordered chronologically from past to future. Each row in the table represents a single event. To add a new event to the calendar, insert the {{Calendar/event}} template on a separate line:

{{Calendar/event
| type = mapevent/social/meeting/speaking/conference/pizza/irc/tv/podcast/info/misc
| date = YYYY-MM-DD
| name = 
| link = 
| url = 
| city = 
| region = 
| country = 
}}

Choose the appropriate |type = from the table below. See Template:Calendar/event for more details and options. If in doubt, use this preview page or this JSON generator to verify that the event will be understood correctly by weeklyOSM's calendar parser.

When an event is past, you can remove it from this table, but please remember add it to the Template:PastEvents table.

Event types

Use one of the following templates to specify the nature of the event:

  |type = none for headings only, not an event.
Mapping party |type = mapevent for mapping parties, or other surveys.
Social |type = social for informal meetings, or just to have a beer with fellow OSM addicts.
Meeting |type = meeting for meetings in meetspace.
Speaking |type = speaking for small local talk and presentation events.
Conference |type = conference for talks, panels and conferences with multiple presentations.
Pizza |type = pizza for hack-a-thons/mapathons involving pizza (or eating other meals, e.g. pasta-parties, or brunches).
IRC |type = irc for IRC meetings at the OSM official IRC channel.
TV/Press |type = tv for TV/press appearances. Turn on your TV that day!
Podcast |type = podcast for radio/podcast recordings.
Info |type = info for general (but important) information.
MISC |type = misc for anything else.