Template:Years left/doc

From Safer nicotine wiki
Jump to navigation Jump to search

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:

25

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