This is the
template sandbox page for
Template:Dash year (
diff). See also the companion subpage for test cases. |
This template converts a single year into an en-dashed range, abbreviating the second year to two digits whenever possible.
Creates a dashed year range, either from start year to end year (if specified), start year + duration (if specified), or start year + 1 (if neither is specified)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Start year | 1 | Year the date range began
| Number | required |
End year | 2 | Year the date range ended
| Number | suggested |
Duration | range | Length in years of the year range
| Number | suggested |
This is the
template sandbox page for
Template:Dash year (
diff). See also the companion subpage for test cases. |
This template converts a single year into an en-dashed range, abbreviating the second year to two digits whenever possible.
Creates a dashed year range, either from start year to end year (if specified), start year + duration (if specified), or start year + 1 (if neither is specified)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Start year | 1 | Year the date range began
| Number | required |
End year | 2 | Year the date range ended
| Number | suggested |
Duration | range | Length in years of the year range
| Number | suggested |