Template:Years left/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
(pre tag)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 05:20, 29 August 2021

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