Template:Year in various calendars/doc
This is a documentation subpage for Template:Year in various calendars. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template produces the sidebar opposite displaying a given Gregorian year in various different calendars.
Syntax
lembaSimple
{{Year in various calendars}}
All parameters
{{Year in various calendars |year=(n) |footnotes=(footnotes) |gregcal=(article name)}}
Parameters
lemba- year
- Number specifying the year to be displayed. This can be negative and also can be in the format "n BC" to display BC dates or "AD n" as an alternative to a positive number. If not specified, the current year is used.
- footnotes
- Any footnotes to be placed at the bottom of the sidebar.
- gregcal
- Name of an article to be displayed for Gregorian and Julian years (e.g. "2000 BC"). Do not include square brackets.
Microformat
lembaThe HTML mark-up produced by this template includes an hCalendar microformat that makes event/date details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Classes used
The HTML classes of this microformat include:
- attendee
- description
- dtend
- dtstart
- location
- summary
- url
- vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.
nor collapse nested elements which use them.