Changes
Jump to navigation
Jump to search
pre tag
{{Documentation subpage}}
==Purpose==
This template allows for the calculation of the years left between a timeframe.
==Syntax==
<pre>{{years left|YYYY|YY}}</pre>
==Examples==
<pre>{{years left|1950|99}}</pre>
will display as:
{{years left|1950|99}}
==Parameters==
{| class="wikitable sortable"
! style="text-align: left" | Parameter
! style="text-align: left" | Description
! style="text-align: left" | Requirement
|-
| {{code|years}} or first parameter
| the year to base the calculation
| '''required'''
|-
| {{code|offset}} or second parameter
| the offset for that year
| '''required'''
|}
==Purpose==
This template allows for the calculation of the years left between a timeframe.
==Syntax==
<pre>{{years left|YYYY|YY}}</pre>
==Examples==
<pre>{{years left|1950|99}}</pre>
will display as:
{{years left|1950|99}}
==Parameters==
{| class="wikitable sortable"
! style="text-align: left" | Parameter
! style="text-align: left" | Description
! style="text-align: left" | Requirement
|-
| {{code|years}} or first parameter
| the year to base the calculation
| '''required'''
|-
| {{code|offset}} or second parameter
| the offset for that year
| '''required'''
|}