• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:Years left

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Purpose
  • 2 Syntax
  • 3 Examples
  • 4 Parameters

Purpose

This template allows for the calculation of the years left between a timeframe.

Syntax

{{years left|YYYY|YY}}

Examples

{{years left|1950|99}}

will display as:

24

Parameters

Parameter Description Requirement
years or first parameter the year to base the calculation required
offset or second parameter the offset for that year required
The above documentation is transcluded from Template:Years left/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://safernicotine.wiki/mediawiki/index.php?title=Template:Years_left&oldid=6766"
Last edited on 30 September 2025, at 12:58
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

      This page is not available in other languages.

      Safer nicotine wiki
      • Creative Commons Attribution-ShareAlike
      • Powered by MediaWiki
      • Monitored by WikiApiary
      • ipv6 ready
      • Powered by Semantic MediaWiki
      • This page was last modified on 30 September 2025, at 12:58. Warning: Page may not contain recent updates.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Safer nicotine wiki
      • Disclaimers
      • Terms of Use
      • Desktop
      • Data access
      • Developers
      • Statistics
      • Cookie statement