Permanently protected template

Template:Year in various calendars

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]
2018 in various calendars
Gregorian calendar2018
MMXVIII
Ab urbe condita2771
Armenian calendar1467
ԹՎ ՌՆԿԷ
Assyrian calendar6768
Bahá'í calendar174–175
Balinese saka calendar1939–1940
Bengali calendar1425
Berber calendar2968
British Regnal year66 Eliz. 2 – 67 Eliz. 2
Buddhist calendar2562
Burmese calendar1380
Byzantine calendar7526–7527
Chinese calendar丁酉(Fire Rooster)
4714 or 4654
    — to —
戊戌年 (Earth Dog)
4715 or 4655
Coptic calendar1734–1735
Discordian calendar3184
Ethiopian calendar2010–2011
Hebrew calendar5778–5779
Hindu calendars
 - Vikram Samvat2074–2075
 - Shaka Samvat1939–1940
 - Kali Yuga5118–5119
Holocene calendar12018
Igbo calendar1018–1019
Iranian calendar1396–1397
Islamic calendar1439–1440
Japanese calendarHeisei 30
(平成30年)
Javanese calendar1951–1952
Juche calendar107
Julian calendarGregorian minus 13 days
Korean calendar4351
Minguo calendarROC 107
民國107年
Nanakshahi calendar550
Thai solar calendar2561
Tibetan calendar阴火鸡年
(female Fire-Rooster)
2144 or 1763 or 991
    — to —
阳土狗年
(male Earth-Dog)
2145 or 1764 or 992
Unix time1514764800 – 1546300799

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 this microformat uses include:

  • attendee
  • description
  • dtend
  • dtstart
  • location
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.