Template:LASTYEAR/sandbox
From Chalo Chatu, Zambia online encyclopedia
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}}