Template:Year in other calendars/doc

From Wikipedia, the free encyclopedia
Jump to: navigation, search

This template produces a sidebar displaying a given Gregorian year in various different calendars.

Syntax[edit]

Simple
{{year in other calendars}}
All parameters
{{year in other calendars|year=n|footnotes=footnotes|gregcal=article name}}

Parameters[edit]

  • year - a number specifying the year to be displayed. This can be negative, and can also be in the format "n BC" to display BC dates. If not specified, the current year is used.
  • footnotes - footnotes to be placed at the bottom of the sidebar.
  • gregcal - an article to be displayed for Gregorian and Julian years. Only specify the article name, e.g. "2000 BC". Do not include square brackets.

Microformat[edit]

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event/ date details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.

hCalendar uses HTML classes including:

  • attendee
  • description
  • dtend
  • dtstart
  • location
  • summary
  • url
  • vevent

Please do not rename or remove these classes; nor collapse nested elements which use them.