• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.55
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Year in various calendars

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Year in various calendars

Lua error in package.lua at line 80: module 'Module:Ancient Olympiads' not found.

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

Syntax

Simple

{{Year in various calendars}}

All parameters

{{Year in various calendars |year=(n) |footnotes=(footnotes) |gregcal=(article name)}}

Parameters

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

The 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.
The above documentation is transcluded from Template:Year in various calendars/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Year_in_various_calendars&oldid=39802"
Categories:
  • Pages with script errors
  • Lua-based templates
  • Templates generating hCalendars
  • Calendar templates
  • History and events sidebar templates
Last edited on 23 February 2018, at 12:03

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 23 February 2018, at 12:03.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop