• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:DECADE

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 302,000 pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.

This template computes the decade for the Gregorian year in parameter.

Syntax

{{DECADE|year}}

Examples

{{DECADE|9 BC}} returns 0s BC
{{DECADE|61 BC}} returns 60s BC
{{DECADE|584 BC}} returns 580s BC
{{DECADE|1738 BC}} returns 1730s BC
{{DECADE|1899 BC}} returns 1890s BC
{{DECADE|1900 BC}} returns 1900s BC
{{DECADE|1901 BC}} returns 1900s BC
{{DECADE|1915 BC}} returns 1910s BC
{{DECADE|1962 BC}} returns 1960s BC
{{DECADE|1999 BC}} returns 1990s BC
{{DECADE|2000 BC}} returns 2000s BC
{{DECADE|2001 BC}} returns 2000s BC
{{DECADE|2017 BC}} returns 2010s BC
{{DECADE|2099 BC}} returns 2090s BC
{{DECADE|2100 BC}} returns 2100s BC
{{DECADE|2101 BC}} returns 2100s BC
{{DECADE|9}} returns 0s
{{DECADE|61}} returns 60s
{{DECADE|584}} returns 580s
{{DECADE|1738}} returns 1730s
{{DECADE|1899}} returns 1890s
{{DECADE|1900}} returns 1900s
{{DECADE|1901}} returns 1900s
{{DECADE|1915}} returns 1910s
{{DECADE|1962}} returns 1960s
{{DECADE|1999}} returns 1990s
{{DECADE|2000}} returns 2000s
{{DECADE|2001}} returns 2000s
{{DECADE|2017}} returns 2010s
{{DECADE|2099}} returns 2090s
{{DECADE|2100}} returns 2100s
{{DECADE|2101}} returns 2100s

See also

Template:MILLENNIUM
Template:Century
Template:YEARCC
Template:YEARYY
Template:MONTHDAYS
Template:IsLeapYear
Template:JULIANDAY
Template:Weekday
Template:Title decade
The above documentation is transcluded from Template:DECADE/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:DECADE&oldid=1276446077"
Last edited on 18 February 2025, at 22:13

Languages

    • Afrikaans
    • Ænglisc
    • Аԥсшәа
    • العربية
    • تۆرکجه
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • Беларуская (тарашкевіца)
    • Български
    • Буряад
    • فارسی
    • Français
    • 한국어
    • Հայերեն
    • Bahasa Indonesia
    • Kurdî
    • മലയാളം
    • मराठी
    • Bahasa Melayu
    • 日本語
    • Нохчийн
    • ଓଡ଼ିଆ
    • ਪੰਜਾਬੀ
    • Română
    • Саха тыла
    • Scots
    • Shqip
    • සිංහල
    • Simple English
    • سنڌي
    • Slovenščina
    • کوردی
    • Tagalog
    • தமிழ்
    • တႆး
    • ไทย
    • Türkçe
    • Українська
    • اردو
    • Vèneto
    • Tiếng Việt
    • 中文
    • Jaku Iban
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 18 February 2025, at 22:13 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop