Template:LASTYEAR/sandbox: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
enwiki>Sdkb (substitution-friendly design) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 12:48, 8 September 2021
2023
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
This is the template sandbox page for Template:LASTYEAR (diff). |
Template documentation
Display the current year offset by one ie. current year - 1 year. If the first parameter is set (optional), it will offset by that number of years backwards.
- example 1
{{LASTYEAR}}
- displays
- 2023
- example 2
{{LASTYEAR|4}}
- displays
- 2020
See also
{{CURRENTYEAR}}
{{NEXTYEAR}}